#24340C#24340C

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

Color values

HEX#24340C
RGBrgb(36, 52, 12)
HSLhsl(84, 63%, 13%)
HSVhsv(84, 77%, 20%)
CMYKcmyk(30.8%, 0%, 76.9%, 79.6%)
CIE-LABlab(19.46, -14.32, 22.22)
CIE-LCHlch(19.46, 26.44, 122.81°)
OKLaboklab(30.09% -0.0406 0.0512)
OKLCHoklch(30.09% 0.065 128.4)
XYZxyz(2.0219, 2.8576, 0.7928)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24340C #1C0C34
analogous
#34300C #24340C #10340C
triadic
#24340C #0C2434 #340C24
tetradic
#24340C #0C3430 #1C0C34 #340C10
square
#24340C #0C3430 #1C0C34 #340C10
split-complementary
#24340C #0C1034 #300C34
monochromatic
#111906 #111906 #24340C #466617 #699723

Accessibility & contrast

On white

13.36
#24340C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24340C
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24340C#FFFFFF#000000##FFFFFF
##24340C1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24340c;
/* rgb */ color: rgb(36, 52, 12);
/* oklch */ color: oklch(30.1% 0.065 128.4);
Tailwind
colors: {
  custom: {
    50: '#606b4d',
    500: '#24340c',
    950: '#000000',
  },
}
SCSS
$custom: #24340c;
$custom-light: #606b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#24340c",
  "rgb": {
    "r": 36,
    "g": 52,
    "b": 12
  },
  "hsl": {
    "h": 84,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.30085,
    "c": 0.06535,
    "h": 128.4
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#24340C
secondary
#472C70
accent
#42E684
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#050601
muted
#797A77

Preview Lab

Preview with #24340C

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

Preview Lab → · Contrast checker → · Palette generator →

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