#24310D#24310D

#24310D is a dark, muted yellow-green. Relative luminance 0.026; OKLCH L 29.2% C 0.059 H 126.6°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#24310D
RGBrgb(36, 49, 13)
HSLhsl(82, 58%, 12%)
HSVhsv(82, 73%, 19%)
CMYKcmyk(26.5%, 0%, 73.5%, 80.8%)
CIE-LABlab(18.37, -12.48, 20.47)
CIE-LCHlch(18.37, 23.98, 121.36°)
OKLaboklab(29.2% -0.0354 0.0477)
OKLCHoklch(29.2% 0.059 126.6)
XYZxyz(1.8985, 2.6007, 0.7827)
Luminance0.0260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24310D #1A0D31
analogous
#312C0D #24310D #12310D
triadic
#24310D #0D2431 #310D24
tetradic
#24310D #0D312C #1A0D31 #310D12
square
#24310D #0D312C #1A0D31 #310D12
split-complementary
#24310D #0D1231 #2C0D31
monochromatic
#121806 #121806 #24310D #48611A #6B9227

Accessibility & contrast

On white

13.81
#24310D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24310D
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24310D#FFFFFF#000000##FFFFFF
##24310D1.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24310d;
/* rgb */ color: rgb(36, 49, 13);
/* oklch */ color: oklch(29.2% 0.059 126.6);
Tailwind
colors: {
  custom: {
    50: '#60694d',
    500: '#24310d',
    950: '#000000',
  },
}
SCSS
$custom: #24310d;
$custom-light: #60694d;
$custom-dark: #000000;
JSON
{
  "hex": "#24310d",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 13
  },
  "hsl": {
    "h": 81.667,
    "s": 58.065,
    "l": 12.157
  },
  "oklch": {
    "l": 0.29201,
    "c": 0.05941,
    "h": 126.6
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#24310D
secondary
#442E6C
accent
#47E17E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #24310D

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

Preview Lab → · Contrast checker → · Palette generator →

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