#24331B#24331B

#24331B is a dark, muted yellow-green. Relative luminance 0.028; OKLCH L 30.0% C 0.046 H 134.5°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#24331B
RGBrgb(36, 51, 27)
HSLhsl(98, 31%, 15%)
HSVhsv(98, 47%, 20%)
CMYKcmyk(29.4%, 0%, 47.1%, 80%)
CIE-LABlab(19.32, -11.72, 13.26)
CIE-LCHlch(19.32, 17.70, 131.45°)
OKLaboklab(30.04% -0.0321 0.0327)
OKLCHoklch(30.04% 0.046 134.5)
XYZxyz(2.1092, 2.8218, 1.4702)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24331B #2A1B33
analogous
#30331B #24331B #1B331E
triadic
#24331B #1B2433 #331B24
tetradic
#24331B #1B3033 #2A1B33 #331E1B
square
#24331B #1B3033 #2A1B33 #331E1B
split-complementary
#24331B #1E1B33 #331B30
monochromatic
#0E140B #0E140B #24331B #405B30 #5C8345

Accessibility & contrast

On white

13.42
#24331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#24331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24331B
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24331B#FFFFFF#000000##FFFFFF
##24331B1.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353019
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#24312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24331b;
/* rgb */ color: rgb(36, 51, 27);
/* oklch */ color: oklch(30.0% 0.046 134.5);
Tailwind
colors: {
  custom: {
    50: '#5f6a57',
    500: '#24331b',
    950: '#000000',
  },
}
SCSS
$custom: #24331b;
$custom-light: #5f6a57;
$custom-dark: #000000;
JSON
{
  "hex": "#24331b",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 97.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.30036,
    "c": 0.04578,
    "h": 134.5
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

primary
#24331B
secondary
#594367
accent
#61C7A1
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #24331B

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

Preview Lab → · Contrast checker → · Palette generator →

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