#24340F#24340F

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

Color values

HEX#24340F
RGBrgb(36, 52, 15)
HSLhsl(86, 55%, 13%)
HSVhsv(86, 71%, 20%)
CMYKcmyk(30.8%, 0%, 71.2%, 79.6%)
CIE-LABlab(19.50, -14.01, 20.78)
CIE-LCHlch(19.50, 25.06, 123.99°)
OKLaboklab(30.12% -0.0394 0.0483)
OKLCHoklch(30.12% 0.062 129.2)
XYZxyz(2.0418, 2.8655, 0.8974)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24340F #1F0F34
analogous
#34310F #24340F #11340F
triadic
#24340F #0F2434 #340F24
tetradic
#24340F #0F3431 #1F0F34 #340F11
square
#24340F #0F3431 #1F0F34 #340F11
split-complementary
#24340F #0F1134 #310F34
monochromatic
#101807 #101807 #24340F #45631D #66932A

Accessibility & contrast

On white

13.35
#24340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24340F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24340F#FFFFFF#000000##FFFFFF
##24340F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37300B
Deuteranopia (green-blind)
#342F12
Tritanopia (blue-blind)
#25312C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24340f;
/* rgb */ color: rgb(36, 52, 15);
/* oklch */ color: oklch(30.1% 0.062 129.2);
Tailwind
colors: {
  custom: {
    50: '#606b4f',
    500: '#24340f',
    950: '#000000',
  },
}
SCSS
$custom: #24340f;
$custom-light: #606b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#24340f",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 85.946,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30122,
    "c": 0.06236,
    "h": 129.2
  },
  "luminance": 0.02866
}

Semantic roles & 50–950 ramp

primary
#24340F
secondary
#4B316E
accent
#49DF8A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050602
muted
#797A78

Preview Lab

Preview with #24340F

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

Preview Lab → · Contrast checker → · Palette generator →

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