#22420D#22420D

#22420D is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.2% C 0.088 H 135.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#22420D
RGBrgb(34, 66, 13)
HSLhsl(96, 67%, 15%)
HSVhsv(96, 80%, 26%)
CMYKcmyk(48.5%, 0%, 80.3%, 74.1%)
CIE-LABlab(24.53, -22.51, 27.14)
CIE-LCHlch(24.53, 35.25, 129.67°)
OKLaboklab(34.19% -0.0627 0.0614)
OKLCHoklch(34.19% 0.088 135.6)
XYZxyz(2.6805, 4.2654, 1.0628)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22420D #2D0D42
analogous
#3C420D #22420D #0D4212
triadic
#22420D #0D2242 #420D22
tetradic
#22420D #0D3C42 #2D0D42 #42120D
square
#22420D #0D3C42 #2D0D42 #42120D
split-complementary
#22420D #120D42 #420D3C
monochromatic
#0D1A05 #0D1A05 #22420D #3C7517 #57A821

Accessibility & contrast

On white

11.33
#22420D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22420D
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22420D#FFFFFF#000000##FFFFFF
##22420D1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #22420d;
/* rgb */ color: rgb(34, 66, 13);
/* oklch */ color: oklch(34.2% 0.088 135.6);
Tailwind
colors: {
  custom: {
    50: '#61764f',
    500: '#22420d',
    950: '#000000',
  },
}
SCSS
$custom: #22420d;
$custom-light: #61764f;
$custom-dark: #000000;
JSON
{
  "hex": "#22420d",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 96.226,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.34186,
    "c": 0.08772,
    "h": 135.6
  },
  "luminance": 0.04266
}

Semantic roles & 50–950 ramp

primary
#22420D
secondary
#5E2D7E
accent
#3EEAA6
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #22420D

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

Preview Lab → · Contrast checker → · Palette generator →

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