#24420F#24420F

#24420F is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.3% C 0.085 H 135.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#24420F
RGBrgb(36, 66, 15)
HSLhsl(95, 63%, 16%)
HSVhsv(95, 77%, 26%)
CMYKcmyk(45.5%, 0%, 77.3%, 74.1%)
CIE-LABlab(24.66, -21.53, 26.38)
CIE-LCHlch(24.66, 34.05, 129.22°)
OKLaboklab(34.33% -0.06 0.0601)
OKLCHoklch(34.33% 0.085 135)
XYZxyz(2.7619, 4.3058, 1.1374)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24420F #2D0F42
analogous
#3D420F #24420F #0F4213
triadic
#24420F #0F2442 #420F24
tetradic
#24420F #0F3D42 #2D0F42 #42130F
square
#24420F #0F3D42 #2D0F42 #42130F
split-complementary
#24420F #130F42 #420F3D
monochromatic
#0E1906 #0E1906 #24420F #3F741A #5AA626

Accessibility & contrast

On white

11.28
#24420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#24420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24420F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24420F#FFFFFF#000000##FFFFFF
##24420F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C08
Deuteranopia (green-blind)
#413A14
Tritanopia (blue-blind)
#233F38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #24420f;
/* rgb */ color: rgb(36, 66, 15);
/* oklch */ color: oklch(34.3% 0.085 135.0);
Tailwind
colors: {
  custom: {
    50: '#627650',
    500: '#24420f',
    950: '#000000',
  },
}
SCSS
$custom: #24420f;
$custom-light: #627650;
$custom-dark: #000000;
JSON
{
  "hex": "#24420f",
  "rgb": {
    "r": 36,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 95.294,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34326,
    "c": 0.08492,
    "h": 135
  },
  "luminance": 0.04306
}

Semantic roles & 50–950 ramp

primary
#24420F
secondary
#5D307C
accent
#42E6A2
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #24420F

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

Preview Lab → · Contrast checker → · Palette generator →

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