#22420B#22420B

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

Color values

HEX#22420B
RGBrgb(34, 66, 11)
HSLhsl(95, 71%, 15%)
HSVhsv(95, 83%, 26%)
CMYKcmyk(48.5%, 0%, 83.3%, 74.1%)
CIE-LABlab(24.51, -22.67, 27.99)
CIE-LCHlch(24.51, 36.02, 129.00°)
OKLaboklab(34.17% -0.0633 0.0628)
OKLCHoklch(34.17% 0.089 135.2)
XYZxyz(2.6682, 4.2605, 0.9983)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22420B #2B0B42
analogous
#3E420B #22420B #0B420F
triadic
#22420B #0B2242 #420B22
tetradic
#22420B #0B3E42 #2B0B42 #420F0B
square
#22420B #0B3E42 #2B0B42 #420F0B
split-complementary
#22420B #0F0B42 #420B3E
monochromatic
#0E1A04 #0E1A04 #22420B #3D7614 #58AB1C

Accessibility & contrast

On white

11.34
#22420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #22420B
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22420B#FFFFFF#000000##FFFFFF
##22420B1.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453C03
Deuteranopia (green-blind)
#403911
Tritanopia (blue-blind)
#213F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22420b;
/* rgb */ color: rgb(34, 66, 11);
/* oklch */ color: oklch(34.2% 0.089 135.2);
Tailwind
colors: {
  custom: {
    50: '#61764e',
    500: '#22420b',
    950: '#000000',
  },
}
SCSS
$custom: #22420b;
$custom-light: #61764e;
$custom-dark: #000000;
JSON
{
  "hex": "#22420b",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 94.909,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.34168,
    "c": 0.08917,
    "h": 135.2
  },
  "luminance": 0.04261
}

Semantic roles & 50–950 ramp

primary
#22420B
secondary
#5B2A7F
accent
#3AEEA3
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #22420B

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

Preview Lab → · Contrast checker → · Palette generator →

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