#20241C#20241C

#20241C is a dark, near-neutral yellow-green. Relative luminance 0.017; OKLCH L 25.3% C 0.016 H 129.2°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#20241C
RGBrgb(32, 36, 28)
HSLhsl(90, 13%, 13%)
HSVhsv(90, 22%, 14%)
CMYKcmyk(11.1%, 0%, 22.2%, 85.9%)
CIE-LABlab(13.55, -3.75, 4.75)
CIE-LCHlch(13.55, 6.05, 128.30°)
OKLaboklab(25.34% -0.01 0.0122)
OKLCHoklch(25.34% 0.016 129.2)
XYZxyz(1.4361, 1.6527, 1.3417)
Luminance0.0165 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20241C #201C24
analogous
#24241C #20241C #1C241C
triadic
#20241C #1C2024 #241C20
tetradic
#20241C #1C2424 #201C24 #241C1C
square
#20241C #1C2424 #201C24 #241C1C
split-complementary
#20241C #1C1C24 #241C24
monochromatic
#0F110D #0F110D #20241C #3F4637 #5D6952

Accessibility & contrast

On white

15.78
#20241C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#20241C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20241C
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20241C#FFFFFF#000000##FFFFFF
##20241C1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25231C
Deuteranopia (green-blind)
#24231C
Tritanopia (blue-blind)
#202322
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #20241c;
/* rgb */ color: rgb(32, 36, 28);
/* oklch */ color: oklch(25.3% 0.016 129.2);
Tailwind
colors: {
  custom: {
    50: '#5b5e58',
    500: '#20241c',
    950: '#000000',
  },
}
SCSS
$custom: #20241c;
$custom-light: #5b5e58;
$custom-dark: #000000;
JSON
{
  "hex": "#20241c",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 28
  },
  "hsl": {
    "h": 90,
    "s": 12.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.25336,
    "c": 0.01576,
    "h": 129.2
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#20241C
secondary
#4E4755
accent
#72B594
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040403
muted
#797978

Preview Lab

Preview with #20241C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#20241C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva