#24340B#24340B

#24340B is a dark, moderate yellow-green. Relative luminance 0.029; OKLCH L 30.1% C 0.066 H 128.2°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#24340B
RGBrgb(36, 52, 11)
HSLhsl(83, 65%, 12%)
HSVhsv(83, 79%, 20%)
CMYKcmyk(30.8%, 0%, 78.8%, 79.6%)
CIE-LABlab(19.45, -14.42, 22.65)
CIE-LCHlch(19.45, 26.85, 122.48°)
OKLaboklab(30.07% -0.041 0.0521)
OKLCHoklch(30.07% 0.066 128.2)
XYZxyz(2.0159, 2.8552, 0.7614)
Luminance0.0285 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24340B #1B0B34
analogous
#34300B #24340B #0F340B
triadic
#24340B #0B2434 #340B24
tetradic
#24340B #0B3430 #1B0B34 #340B0F
square
#24340B #0B3430 #1B0B34 #340B0F
split-complementary
#24340B #0B0F34 #300B34
monochromatic
#111905 #111905 #24340B #476716 #6A9920

Accessibility & contrast

On white

13.37
#24340B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#24340B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24340B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24340B#FFFFFF#000000##FFFFFF
##24340B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373006
Deuteranopia (green-blind)
#352F0E
Tritanopia (blue-blind)
#25312C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24340b;
/* rgb */ color: rgb(36, 52, 11);
/* oklch */ color: oklch(30.1% 0.066 128.2);
Tailwind
colors: {
  custom: {
    50: '#606b4c',
    500: '#24340b',
    950: '#000000',
  },
}
SCSS
$custom: #24340b;
$custom-light: #606b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#24340b",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 11
  },
  "hsl": {
    "h": 83.415,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.30074,
    "c": 0.06627,
    "h": 128.2
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#24340B
secondary
#462A71
accent
#40E881
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #24340B

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

Preview Lab → · Contrast checker → · Palette generator →

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