#24281C#24281C

#24281C is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.9% C 0.022 H 122.9°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#24281C
RGBrgb(36, 40, 28)
HSLhsl(80, 18%, 13%)
HSVhsv(80, 30%, 16%)
CMYKcmyk(10%, 0%, 30%, 84.3%)
CIE-LABlab(15.36, -4.53, 7.33)
CIE-LCHlch(15.36, 8.62, 121.74°)
OKLaboklab(26.88% -0.012 0.0186)
OKLCHoklch(26.88% 0.022 122.9)
XYZxyz(1.6959, 1.9765, 1.3905)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24281C #201C28
analogous
#28261C #24281C #1E281C
triadic
#24281C #1C2428 #281C24
tetradic
#24281C #1C2826 #201C28 #281C1E
square
#24281C #1C2826 #201C28 #281C1E
split-complementary
#24281C #1C1E28 #261C28
monochromatic
#10120D #10120D #24281C #444C35 #65704E

Accessibility & contrast

On white

15.05
#24281C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24281C
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24281C#FFFFFF#000000##FFFFFF
##24281C1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24281c;
/* rgb */ color: rgb(36, 40, 28);
/* oklch */ color: oklch(26.9% 0.022 122.9);
Tailwind
colors: {
  custom: {
    50: '#5e6158',
    500: '#24281c',
    950: '#000000',
  },
}
SCSS
$custom: #24281c;
$custom-light: #5e6158;
$custom-dark: #000000;
JSON
{
  "hex": "#24281c",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 28
  },
  "hsl": {
    "h": 80,
    "s": 17.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.26875,
    "c": 0.02215,
    "h": 122.9
  },
  "luminance": 0.01976
}

Semantic roles & 50–950 ramp

primary
#24281C
secondary
#4D465A
accent
#6DBA87
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #24281C

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

Preview Lab → · Contrast checker → · Palette generator →

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