#24281E#24281E

#24281E is a dark, near-neutral yellow-green. Relative luminance 0.020; OKLCH L 26.9% C 0.019 H 125.4°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#24281E
RGBrgb(36, 40, 30)
HSLhsl(84, 14%, 14%)
HSVhsv(84, 25%, 16%)
CMYKcmyk(10%, 0%, 25%, 84.3%)
CIE-LABlab(15.42, -4.12, 6.00)
CIE-LCHlch(15.42, 7.28, 124.51°)
OKLaboklab(26.93% -0.0109 0.0154)
OKLCHoklch(26.93% 0.019 125.4)
XYZxyz(1.7207, 1.9864, 1.5208)
Luminance0.0199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24281E #221E28
analogous
#28271E #24281E #1F281E
triadic
#24281E #1E2428 #281E24
tetradic
#24281E #1E2827 #221E28 #281E1F
square
#24281E #1E2827 #221E28 #281E1F
split-complementary
#24281E #1E1F28 #271E28
monochromatic
#10110D #10110D #24281E #434B38 #636E52

Accessibility & contrast

On white

15.03
#24281E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#24281E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24281E
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24281E#FFFFFF#000000##FFFFFF
##24281E1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29271D
Deuteranopia (green-blind)
#29261E
Tritanopia (blue-blind)
#252725
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #24281e;
/* rgb */ color: rgb(36, 40, 30);
/* oklch */ color: oklch(26.9% 0.019 125.4);
Tailwind
colors: {
  custom: {
    50: '#5e6159',
    500: '#24281e',
    950: '#000000',
  },
}
SCSS
$custom: #24281e;
$custom-light: #5e6159;
$custom-dark: #000000;
JSON
{
  "hex": "#24281e",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 30
  },
  "hsl": {
    "h": 84,
    "s": 14.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26934,
    "c": 0.01884,
    "h": 125.4
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#24281E
secondary
#4F4959
accent
#71B78D
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #24281E

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

Preview Lab → · Contrast checker → · Palette generator →

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