#24310A#24310A

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

Color values

HEX#24310A
RGBrgb(36, 49, 10)
HSLhsl(80, 66%, 12%)
HSVhsv(80, 80%, 19%)
CMYKcmyk(26.5%, 0%, 79.6%, 80.8%)
CIE-LABlab(18.34, -12.77, 21.77)
CIE-LCHlch(18.34, 25.23, 120.39°)
OKLaboklab(29.17% -0.0366 0.0505)
OKLCHoklch(29.17% 0.062 125.9)
XYZxyz(1.8807, 2.5936, 0.6886)
Luminance0.0259 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24310A #170A31
analogous
#312B0A #24310A #11310A
triadic
#24310A #0A2431 #310A24
tetradic
#24310A #0A312B #170A31 #310A11
square
#24310A #0A312B #170A31 #310A11
split-complementary
#24310A #0A1131 #2B0A31
monochromatic
#131905 #131905 #24310A #496414 #6F971F

Accessibility & contrast

On white

13.83
#24310A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24310A
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24310A#FFFFFF#000000##FFFFFF
##24310A1.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24310a;
/* rgb */ color: rgb(36, 49, 10);
/* oklch */ color: oklch(29.2% 0.062 125.9);
Tailwind
colors: {
  custom: {
    50: '#60694c',
    500: '#24310a',
    950: '#000000',
  },
}
SCSS
$custom: #24310a;
$custom-light: #60694c;
$custom-dark: #000000;
JSON
{
  "hex": "#24310a",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 10
  },
  "hsl": {
    "h": 80,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.29165,
    "c": 0.06234,
    "h": 125.9
  },
  "luminance": 0.02594
}

Semantic roles & 50–950 ramp

primary
#24310A
secondary
#40296E
accent
#3FE978
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #24310A

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

Preview Lab → · Contrast checker → · Palette generator →

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