#24271A#24271A

#24271A is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.023 H 118.6°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#24271A
RGBrgb(36, 39, 26)
HSLhsl(74, 20%, 13%)
HSVhsv(74, 33%, 15%)
CMYKcmyk(7.7%, 0%, 33.3%, 84.7%)
CIE-LABlab(14.96, -4.25, 8.17)
CIE-LCHlch(14.96, 9.20, 117.48°)
OKLaboklab(26.54% -0.0112 0.0206)
OKLCHoklch(26.54% 0.023 118.6)
XYZxyz(1.6395, 1.9007, 1.2576)
Luminance0.0190 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#24271A #1D1A27
analogous
#27231A #24271A #1D271A
triadic
#24271A #1A2427 #271A24
tetradic
#24271A #1A2723 #1D1A27 #271A1D
square
#24271A #1A2723 #1D1A27 #271A1D
split-complementary
#24271A #1A1D27 #231A27
monochromatic
#11120C #11120C #24271A #464C32 #68704B

Accessibility & contrast

On white

15.22
#24271A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #24271A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##24271A#FFFFFF#000000##FFFFFF
##24271A1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #24271a;
/* rgb */ color: rgb(36, 39, 26);
/* oklch */ color: oklch(26.5% 0.023 118.6);
Tailwind
colors: {
  custom: {
    50: '#5e6156',
    500: '#24271a',
    950: '#000000',
  },
}
SCSS
$custom: #24271a;
$custom-light: #5e6156;
$custom-dark: #000000;
JSON
{
  "hex": "#24271a",
  "rgb": {
    "r": 36,
    "g": 39,
    "b": 26
  },
  "hsl": {
    "h": 73.846,
    "s": 20,
    "l": 12.745
  },
  "oklch": {
    "l": 0.26536,
    "c": 0.02347,
    "h": 118.6
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#24271A
secondary
#484359
accent
#6BBD7E
background
#F5F5F5
surface
#E9E9E9
border
#C5C5C5
text
#040503
muted
#797978

Preview Lab

Preview with #24271A

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

Preview Lab → · Contrast checker → · Palette generator →

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