#24281A#24281A

#24281A is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.025 H 121.1°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#24281A
RGBrgb(36, 40, 26)
HSLhsl(77, 21%, 13%)
HSVhsv(77, 35%, 16%)
CMYKcmyk(10%, 0%, 35%, 84.3%)
CIE-LABlab(15.31, -4.92, 8.65)
CIE-LCHlch(15.31, 9.95, 119.62°)
OKLaboklab(26.82% -0.0131 0.0218)
OKLCHoklch(26.82% 0.025 121.1)
XYZxyz(1.6728, 1.9672, 1.2687)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24281A #1E1A28
analogous
#28251A #24281A #1D281A
triadic
#24281A #1A2428 #281A24
tetradic
#24281A #1A2825 #1E1A28 #281A1D
square
#24281A #1A2825 #1E1A28 #281A1D
split-complementary
#24281A #1A1D28 #251A28
monochromatic
#11130C #11130C #24281A #454D32 #67724A

Accessibility & contrast

On white

15.07
#24281A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#24281A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #24281A
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24281A#FFFFFF#000000##FFFFFF
##24281A1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2619
Deuteranopia (green-blind)
#29261B
Tritanopia (blue-blind)
#252724
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #24281a;
/* rgb */ color: rgb(36, 40, 26);
/* oklch */ color: oklch(26.8% 0.025 121.1);
Tailwind
colors: {
  custom: {
    50: '#5e6156',
    500: '#24281a',
    950: '#000000',
  },
}
SCSS
$custom: #24281a;
$custom-light: #5e6156;
$custom-dark: #000000;
JSON
{
  "hex": "#24281a",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 26
  },
  "hsl": {
    "h": 77.143,
    "s": 21.212,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2682,
    "c": 0.02542,
    "h": 121.1
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#24281A
secondary
#4A435B
accent
#6ABE82
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #24281A

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

Preview Lab → · Contrast checker → · Palette generator →

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