#21240F#21240F

#21240F is a dark, muted yellow. Relative luminance 0.016; OKLCH L 25.1% C 0.036 H 115.7°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#21240F
RGBrgb(33, 36, 15)
HSLhsl(69, 41%, 10%)
HSVhsv(69, 58%, 14%)
CMYKcmyk(8.3%, 0%, 58.3%, 85.9%)
CIE-LABlab(13.35, -5.59, 13.09)
CIE-LCHlch(13.35, 14.24, 113.11°)
OKLaboklab(25.11% -0.0157 0.0325)
OKLCHoklch(25.11% 0.036 115.7)
XYZxyz(1.3443, 1.6196, 0.6936)
Luminance0.0162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21240F #120F24
analogous
#241C0F #21240F #17240F
triadic
#21240F #0F2124 #240F21
tetradic
#21240F #0F241C #120F24 #240F17
square
#21240F #0F241C #120F24 #240F17
split-complementary
#21240F #0F1724 #1C0F24
monochromatic
#141609 #141609 #21240F #494F21 #707A33

Accessibility & contrast

On white

15.86
#21240F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#21240F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21240F
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21240F#FFFFFF#000000##FFFFFF
##21240F1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27220D
Deuteranopia (green-blind)
#262210
Tritanopia (blue-blind)
#23221F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #21240f;
/* rgb */ color: rgb(33, 36, 15);
/* oklch */ color: oklch(25.1% 0.036 115.7);
Tailwind
colors: {
  custom: {
    50: '#5c5e4e',
    500: '#21240f',
    950: '#000000',
  },
}
SCSS
$custom: #21240f;
$custom-light: #5c5e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#21240f",
  "rgb": {
    "r": 33,
    "g": 36,
    "b": 15
  },
  "hsl": {
    "h": 68.571,
    "s": 41.176,
    "l": 10
  },
  "oklch": {
    "l": 0.25106,
    "c": 0.0361,
    "h": 115.7
  },
  "luminance": 0.0162
}

Semantic roles & 50–950 ramp

primary
#21240F
secondary
#39335C
accent
#57D168
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #21240F

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

Preview Lab → · Contrast checker → · Palette generator →

#21240F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva