#22400D#22400D

#22400D is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.6% C 0.085 H 135.1°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#22400D
RGBrgb(34, 64, 13)
HSLhsl(95, 66%, 15%)
HSVhsv(95, 80%, 25%)
CMYKcmyk(46.9%, 0%, 79.7%, 74.9%)
CIE-LABlab(23.79, -21.52, 26.38)
CIE-LCHlch(23.79, 34.04, 129.20°)
OKLaboklab(33.58% -0.06 0.0598)
OKLCHoklch(33.58% 0.085 135.1)
XYZxyz(2.5657, 4.0358, 1.0245)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22400D #2B0D40
analogous
#3C400D #22400D #0D4011
triadic
#22400D #0D2240 #400D22
tetradic
#22400D #0D3C40 #2B0D40 #40110D
square
#22400D #0D3C40 #2B0D40 #40110D
split-complementary
#22400D #110D40 #400D3C
monochromatic
#0E1905 #0E1905 #22400D #3D7317 #58A622

Accessibility & contrast

On white

11.62
#22400D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#22400D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #22400D
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##22400D#FFFFFF#000000##FFFFFF
##22400D1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A06
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#213D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22400d;
/* rgb */ color: rgb(34, 64, 13);
/* oklch */ color: oklch(33.6% 0.085 135.1);
Tailwind
colors: {
  custom: {
    50: '#60754f',
    500: '#22400d',
    950: '#000000',
  },
}
SCSS
$custom: #22400d;
$custom-light: #60754f;
$custom-dark: #000000;
JSON
{
  "hex": "#22400d",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 13
  },
  "hsl": {
    "h": 95.294,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33579,
    "c": 0.0847,
    "h": 135.1
  },
  "luminance": 0.04036
}

Semantic roles & 50–950 ramp

primary
#22400D
secondary
#5B2D7C
accent
#3FE9A3
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #22400D

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

Preview Lab → · Contrast checker → · Palette generator →

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