#22420A#22420A

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

Color values

HEX#22420A
RGBrgb(34, 66, 10)
HSLhsl(94, 74%, 15%)
HSVhsv(94, 85%, 26%)
CMYKcmyk(48.5%, 0%, 84.8%, 74.1%)
CIE-LABlab(24.51, -22.75, 28.40)
CIE-LCHlch(24.51, 36.39, 128.70°)
OKLaboklab(34.16% -0.0636 0.0635)
OKLCHoklch(34.16% 0.09 135)
XYZxyz(2.6626, 4.2583, 0.9687)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22420A #2A0A42
analogous
#3E420A #22420A #0A420E
triadic
#22420A #0A2242 #420A22
tetradic
#22420A #0A3E42 #2A0A42 #420E0A
square
#22420A #0A3E42 #2A0A42 #420E0A
split-complementary
#22420A #0E0A42 #420A3E
monochromatic
#0E1B04 #0E1B04 #22420A #3D7712 #59AC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22420A#FFFFFF#000000##FFFFFF
##22420A1.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)
#453C02
Deuteranopia (green-blind)
#413910
Tritanopia (blue-blind)
#213F37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #22420a;
/* rgb */ color: rgb(34, 66, 10);
/* oklch */ color: oklch(34.2% 0.090 135.0);
Tailwind
colors: {
  custom: {
    50: '#61764e',
    500: '#22420a',
    950: '#000000',
  },
}
SCSS
$custom: #22420a;
$custom-light: #61764e;
$custom-dark: #000000;
JSON
{
  "hex": "#22420a",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 94.286,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3416,
    "c": 0.08986,
    "h": 135
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#22420A
secondary
#5A297F
accent
#37F0A1
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #22420A

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

Preview Lab → · Contrast checker → · Palette generator →

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