#24310B#24310B

#24310B is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.2% C 0.061 H 126.1°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#24310B
RGBrgb(36, 49, 11)
HSLhsl(81, 63%, 12%)
HSVhsv(81, 78%, 19%)
CMYKcmyk(26.5%, 0%, 77.6%, 80.8%)
CIE-LABlab(18.35, -12.67, 21.36)
CIE-LCHlch(18.35, 24.84, 120.68°)
OKLaboklab(29.18% -0.0362 0.0496)
OKLCHoklch(29.18% 0.061 126.1)
XYZxyz(1.8863, 2.5958, 0.7182)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24310B #180B31
analogous
#312B0B #24310B #11310B
triadic
#24310B #0B2431 #310B24
tetradic
#24310B #0B312B #180B31 #310B11
square
#24310B #0B312B #180B31 #310B11
split-complementary
#24310B #0B1131 #2B0B31
monochromatic
#121906 #121906 #24310B #496316 #6D9521

Accessibility & contrast

On white

13.82
#24310B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#24310B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24310B
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24310B#FFFFFF#000000##FFFFFF
##24310B1.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D07
Deuteranopia (green-blind)
#322D0E
Tritanopia (blue-blind)
#262E29
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #24310b;
/* rgb */ color: rgb(36, 49, 11);
/* oklch */ color: oklch(29.2% 0.061 126.1);
Tailwind
colors: {
  custom: {
    50: '#60694c',
    500: '#24310b',
    950: '#000000',
  },
}
SCSS
$custom: #24310b;
$custom-light: #60694c;
$custom-dark: #000000;
JSON
{
  "hex": "#24310b",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 11
  },
  "hsl": {
    "h": 80.526,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.29176,
    "c": 0.06141,
    "h": 126.1
  },
  "luminance": 0.02596
}

Semantic roles & 50–950 ramp

primary
#24310B
secondary
#412A6E
accent
#41E67A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #24310B

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

Preview Lab → · Contrast checker → · Palette generator →

#24310B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva