#21420E#21420E

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

Color values

HEX#21420E
RGBrgb(33, 66, 14)
HSLhsl(98, 65%, 16%)
HSVhsv(98, 79%, 26%)
CMYKcmyk(50%, 0%, 78.8%, 74.1%)
CIE-LABlab(24.49, -22.80, 26.62)
CIE-LCHlch(24.49, 35.05, 130.59°)
OKLaboklab(34.14% -0.0633 0.0605)
OKLCHoklch(34.14% 0.088 136.3)
XYZxyz(2.6546, 4.2513, 1.0961)
Luminance0.0425 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21420E #2F0E42
analogous
#3B420E #21420E #0E4215
triadic
#21420E #0E2142 #420E21
tetradic
#21420E #0E3B42 #2F0E42 #42150E
square
#21420E #0E3B42 #2F0E42 #42150E
split-complementary
#21420E #150E42 #420E3B
monochromatic
#0D1905 #0D1905 #21420E #3A7419 #53A723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21420E#FFFFFF#000000##FFFFFF
##21420E1.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)
#453C06
Deuteranopia (green-blind)
#403913
Tritanopia (blue-blind)
#203F38
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #21420e;
/* rgb */ color: rgb(33, 66, 14);
/* oklch */ color: oklch(34.1% 0.088 136.3);
Tailwind
colors: {
  custom: {
    50: '#607650',
    500: '#21420e',
    950: '#000000',
  },
}
SCSS
$custom: #21420e;
$custom-light: #607650;
$custom-dark: #000000;
JSON
{
  "hex": "#21420e",
  "rgb": {
    "r": 33,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 98.077,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34138,
    "c": 0.08756,
    "h": 136.3
  },
  "luminance": 0.04251
}

Semantic roles & 50–950 ramp

primary
#21420E
secondary
#602F7D
accent
#40E8AB
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #21420E

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

Preview Lab → · Contrast checker → · Palette generator →

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