#24331C#24331C

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

Color values

HEX#24331C
RGBrgb(36, 51, 28)
HSLhsl(99, 29%, 15%)
HSVhsv(99, 45%, 20%)
CMYKcmyk(29.4%, 0%, 45.1%, 80%)
CIE-LABlab(19.34, -11.54, 12.64)
CIE-LCHlch(19.34, 17.11, 132.40°)
OKLaboklab(30.06% -0.0315 0.0313)
OKLCHoklch(30.06% 0.044 135.3)
XYZxyz(2.1209, 2.8265, 1.5322)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24331C #2B1C33
analogous
#2F331C #24331C #1C331F
triadic
#24331C #1C2433 #331C24
tetradic
#24331C #1C2F33 #2B1C33 #331F1C
square
#24331C #1C2F33 #2B1C33 #331F1C
split-complementary
#24331C #1F1C33 #331C2F
monochromatic
#0E140B #0E140B #24331C #405B32 #5C8247

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##24331C#FFFFFF#000000##FFFFFF
##24331C1.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35301A
Deuteranopia (green-blind)
#322E1D
Tritanopia (blue-blind)
#24312D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #24331c;
/* rgb */ color: rgb(36, 51, 28);
/* oklch */ color: oklch(30.1% 0.044 135.3);
Tailwind
colors: {
  custom: {
    50: '#5f6a58',
    500: '#24331c',
    950: '#000000',
  },
}
SCSS
$custom: #24331c;
$custom-light: #5f6a58;
$custom-dark: #000000;
JSON
{
  "hex": "#24331c",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 99.13,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.30058,
    "c": 0.04441,
    "h": 135.3
  },
  "luminance": 0.02827
}

Semantic roles & 50–950 ramp

primary
#24331C
secondary
#5B4467
accent
#62C5A3
background
#F5F6F5
surface
#E9EBE9
border
#C5C6C5
text
#040603
muted
#797A78

Preview Lab

Preview with #24331C

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

Preview Lab → · Contrast checker → · Palette generator →

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