#24271E#24271E

#24271E is a dark, near-neutral yellow-green. Relative luminance 0.019; OKLCH L 26.7% C 0.017 H 122.5°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#24271E
RGBrgb(36, 39, 30)
HSLhsl(80, 13%, 14%)
HSVhsv(80, 23%, 15%)
CMYKcmyk(7.7%, 0%, 23.1%, 84.7%)
CIE-LABlab(15.06, -3.45, 5.50)
CIE-LCHlch(15.06, 6.49, 122.05°)
OKLaboklab(26.65% -0.009 0.0141)
OKLCHoklch(26.65% 0.017 122.5)
XYZxyz(1.6874, 1.9198, 1.5097)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24271E #211E27
analogous
#27251E #24271E #1F271E
triadic
#24271E #1E2427 #271E24
tetradic
#24271E #1E2725 #211E27 #271E1F
square
#24271E #1E2725 #211E27 #271E1F
split-complementary
#24271E #1E1F27 #251E27
monochromatic
#10110D #10110D #24271E #444A39 #646C53

Accessibility & contrast

On white

15.17
#24271E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#24271E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24271E
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24271E#FFFFFF#000000##FFFFFF
##24271E1.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28261D
Deuteranopia (green-blind)
#28261E
Tritanopia (blue-blind)
#252624
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #24271e;
/* rgb */ color: rgb(36, 39, 30);
/* oklch */ color: oklch(26.7% 0.017 122.5);
Tailwind
colors: {
  custom: {
    50: '#5e6159',
    500: '#24271e',
    950: '#000000',
  },
}
SCSS
$custom: #24271e;
$custom-light: #5e6159;
$custom-dark: #000000;
JSON
{
  "hex": "#24271e",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 30
  },
  "hsl": {
    "h": 80,
    "s": 13.043,
    "l": 13.529
  },
  "oklch": {
    "l": 0.26652,
    "c": 0.01676,
    "h": 122.5
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#24271E
secondary
#4E4958
accent
#72B689
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #24271E

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

Preview Lab → · Contrast checker → · Palette generator →

#24271E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva