#21420A#21420A

#21420A is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.1% C 0.090 H 135.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#21420A
RGBrgb(33, 66, 10)
HSLhsl(95, 74%, 15%)
HSVhsv(95, 85%, 26%)
CMYKcmyk(50%, 0%, 84.8%, 74.1%)
CIE-LABlab(24.45, -23.14, 28.33)
CIE-LCHlch(24.45, 36.58, 129.24°)
OKLaboklab(34.1% -0.0646 0.0634)
OKLCHoklch(34.1% 0.09 135.5)
XYZxyz(2.6301, 4.2415, 0.9672)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21420A #2B0A42
analogous
#3D420A #21420A #0A420F
triadic
#21420A #0A2142 #420A21
tetradic
#21420A #0A3D42 #2B0A42 #420F0A
square
#21420A #0A3D42 #2B0A42 #420F0A
split-complementary
#21420A #0F0A42 #420A3D
monochromatic
#0D1B04 #0D1B04 #21420A #3C7712 #56AC1A

Accessibility & contrast

On white

11.36
#21420A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#21420A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21420A
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21420A#FFFFFF#000000##FFFFFF
##21420A1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C02
Deuteranopia (green-blind)
#403910
Tritanopia (blue-blind)
#203F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21420a;
/* rgb */ color: rgb(33, 66, 10);
/* oklch */ color: oklch(34.1% 0.090 135.5);
Tailwind
colors: {
  custom: {
    50: '#60764e',
    500: '#21420a',
    950: '#000000',
  },
}
SCSS
$custom: #21420a;
$custom-light: #60764e;
$custom-dark: #000000;
JSON
{
  "hex": "#21420a",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 95.357,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.34102,
    "c": 0.09046,
    "h": 135.5
  },
  "luminance": 0.04242
}

Semantic roles & 50–950 ramp

primary
#21420A
secondary
#5C297F
accent
#37F0A4
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #21420A

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

Preview Lab → · Contrast checker → · Palette generator →

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