#24370C#24370C

#24370C is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 31.0% C 0.070 H 130.2°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#24370C
RGBrgb(36, 55, 12)
HSLhsl(87, 64%, 13%)
HSVhsv(87, 78%, 22%)
CMYKcmyk(34.5%, 0%, 78.2%, 78.4%)
CIE-LABlab(20.57, -16.01, 23.47)
CIE-LCHlch(20.57, 28.41, 124.30°)
OKLaboklab(30.99% -0.0453 0.0537)
OKLCHoklch(30.99% 0.07 130.2)
XYZxyz(2.1601, 3.1339, 0.8389)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24370C #1F0C37
analogous
#37340C #24370C #0E370C
triadic
#24370C #0C2437 #370C24
tetradic
#24370C #0C3734 #1F0C37 #370C0E
square
#24370C #0C3734 #1F0C37 #370C0E
split-complementary
#24370C #0C0E37 #340C37
monochromatic
#101905 #101905 #24370C #456917 #669B22

Accessibility & contrast

On white

12.91
#24370C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#24370C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24370C
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24370C#FFFFFF#000000##FFFFFF
##24370C1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3206
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#25342E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #24370c;
/* rgb */ color: rgb(36, 55, 12);
/* oklch */ color: oklch(31.0% 0.070 130.2);
Tailwind
colors: {
  custom: {
    50: '#606e4d',
    500: '#24370c',
    950: '#000000',
  },
}
SCSS
$custom: #24370c;
$custom-light: #606e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#24370c",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 12
  },
  "hsl": {
    "h": 86.512,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30985,
    "c": 0.0702,
    "h": 130.2
  },
  "luminance": 0.03134
}

Semantic roles & 50–950 ramp

primary
#24370C
secondary
#4B2C73
accent
#41E78A
background
#F5F6F4
surface
#EAEBE7
border
#C6C6C3
text
#050701
muted
#797A77

Preview Lab

Preview with #24370C

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

Preview Lab → · Contrast checker → · Palette generator →

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