#22420E#22420E

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

Color values

HEX#22420E
RGBrgb(34, 66, 14)
HSLhsl(97, 65%, 16%)
HSVhsv(97, 79%, 26%)
CMYKcmyk(48.5%, 0%, 78.8%, 74.1%)
CIE-LABlab(24.54, -22.42, 26.69)
CIE-LCHlch(24.54, 34.86, 130.03°)
OKLaboklab(34.2% -0.0624 0.0606)
OKLCHoklch(34.2% 0.087 135.8)
XYZxyz(2.6871, 4.2681, 1.0976)
Luminance0.0427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22420E #2E0E42
analogous
#3C420E #22420E #0E4214
triadic
#22420E #0E2242 #420E22
tetradic
#22420E #0E3C42 #2E0E42 #42140E
square
#22420E #0E3C42 #2E0E42 #42140E
split-complementary
#22420E #140E42 #420E3C
monochromatic
#0D1905 #0D1905 #22420E #3C7419 #56A723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #22420e;
/* rgb */ color: rgb(34, 66, 14);
/* oklch */ color: oklch(34.2% 0.087 135.8);
Tailwind
colors: {
  custom: {
    50: '#607650',
    500: '#22420e',
    950: '#000000',
  },
}
SCSS
$custom: #22420e;
$custom-light: #607650;
$custom-dark: #000000;
JSON
{
  "hex": "#22420e",
  "rgb": {
    "r": 34,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 96.923,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34196,
    "c": 0.08695,
    "h": 135.8
  },
  "luminance": 0.04268
}

Semantic roles & 50–950 ramp

primary
#22420E
secondary
#5F2F7D
accent
#40E8A7
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #22420E

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

Preview Lab → · Contrast checker → · Palette generator →

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