#20240F#20240F

#20240F is a dark, muted yellow-green. Relative luminance 0.016; OKLCH L 25.0% C 0.036 H 118.0°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#20240F
RGBrgb(32, 36, 15)
HSLhsl(71, 41%, 10%)
HSVhsv(71, 58%, 14%)
CMYKcmyk(11.1%, 0%, 58.3%, 85.9%)
CIE-LABlab(13.25, -6.11, 12.94)
CIE-LCHlch(13.25, 14.32, 115.28°)
OKLaboklab(25% -0.0171 0.0322)
OKLCHoklch(25% 0.036 118)
XYZxyz(1.3128, 1.6033, 0.6922)
Luminance0.0160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20240F #130F24
analogous
#241E0F #20240F #15240F
triadic
#20240F #0F2024 #240F20
tetradic
#20240F #0F241E #130F24 #240F15
square
#20240F #0F241E #130F24 #240F15
split-complementary
#20240F #0F1524 #1E0F24
monochromatic
#131609 #131609 #20240F #464F21 #6D7A33

Accessibility & contrast

On white

15.90
#20240F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#20240F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #20240F
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20240F#FFFFFF#000000##FFFFFF
##20240F1.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26220D
Deuteranopia (green-blind)
#262210
Tritanopia (blue-blind)
#22221F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #20240f;
/* rgb */ color: rgb(32, 36, 15);
/* oklch */ color: oklch(25.0% 0.036 118.0);
Tailwind
colors: {
  custom: {
    50: '#5b5e4e',
    500: '#20240f',
    950: '#000000',
  },
}
SCSS
$custom: #20240f;
$custom-light: #5b5e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#20240f",
  "rgb": {
    "r": 32,
    "g": 36,
    "b": 15
  },
  "hsl": {
    "h": 71.429,
    "s": 41.176,
    "l": 10
  },
  "oklch": {
    "l": 0.25002,
    "c": 0.03647,
    "h": 118
  },
  "luminance": 0.01603
}

Semantic roles & 50–950 ramp

primary
#20240F
secondary
#3B335C
accent
#57D16E
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #20240F

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

Preview Lab → · Contrast checker → · Palette generator →

#20240F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva