#262A21

A color in the Green family

#262a21 is a color in the Green family: RGB(38, 42, 33), HSL(87°, 12%, 15%), CMYK(10%, 0%, 21%, 84%). Closest named color: darkslategray. Contrast is 14.63:1 on white and 1.44:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#262a21
RGBrgb(38 42 33)
RGB (legacy)rgb(38, 42, 33)
RGB %rgb(15% 16% 13%)
HSLhsl(87 12% 15%)
HSV / HSBhsv(87, 21%, 16%)
HWBhwb(87 13% 84%)
CMYKcmyk(10%, 0%, 21%, 84%)
CIELAB (D50)lab(16.42 -3.42 5.28)
LCHlch(16.42 6.29 122.93)
OKLaboklab(0.2779 -0.0103 0.0136)
OKLCHoklch(0.2779 0.0171 127.02)
Decimal2501153

Properties

Color ToneGreen
Closest named colordarkslategray ΔE 13
Closest web-safe color#333333
Hue87°
Saturation (HSL / HSV)12% / 21%
Lightness (HSL)15%
Brightness or Value (HSV)16%
Luminance (Rec.601 / Rec.709)16% / 16%
Relative luminance (WCAG)0.0218
Red / Green / Blue38 / 42 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
14.63:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.44:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 101.5 / 0 · As background with white / black text: Lc -104.3 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #262a21;
  --color-brand-oklch: oklch(27.79% 0.0171 127.02);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(38 42 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#262a21] text-[#262a21] border-[#262a21]">