#21420D#21420D

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

Color values

HEX#21420D
RGBrgb(33, 66, 13)
HSLhsl(97, 67%, 15%)
HSVhsv(97, 80%, 26%)
CMYKcmyk(50%, 0%, 80.3%, 74.1%)
CIE-LABlab(24.48, -22.89, 27.07)
CIE-LCHlch(24.48, 35.45, 130.23°)
OKLaboklab(34.13% -0.0637 0.0612)
OKLCHoklch(34.13% 0.088 136.1)
XYZxyz(2.6480, 4.2487, 1.0612)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21420D #2E0D42
analogous
#3B420D #21420D #0D4213
triadic
#21420D #0D2142 #420D21
tetradic
#21420D #0D3B42 #2E0D42 #42130D
square
#21420D #0D3B42 #2E0D42 #42130D
split-complementary
#21420D #130D42 #420D3B
monochromatic
#0D1A05 #0D1A05 #21420D #3B7517 #54A821

Accessibility & contrast

On white

11.35
#21420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21420D
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21420D#FFFFFF#000000##FFFFFF
##21420D1.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C05
Deuteranopia (green-blind)
#403912
Tritanopia (blue-blind)
#203F38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21420d;
/* rgb */ color: rgb(33, 66, 13);
/* oklch */ color: oklch(34.1% 0.088 136.1);
Tailwind
colors: {
  custom: {
    50: '#60764f',
    500: '#21420d',
    950: '#000000',
  },
}
SCSS
$custom: #21420d;
$custom-light: #60764f;
$custom-dark: #000000;
JSON
{
  "hex": "#21420d",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 97.358,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34128,
    "c": 0.08833,
    "h": 136.1
  },
  "luminance": 0.04249
}

Semantic roles & 50–950 ramp

primary
#21420D
secondary
#5F2D7E
accent
#3EEAA9
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #21420D

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

Preview Lab → · Contrast checker → · Palette generator →

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