#22400E#22400E

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

Color values

HEX#22400E
RGBrgb(34, 64, 14)
HSLhsl(96, 64%, 15%)
HSVhsv(96, 78%, 25%)
CMYKcmyk(46.9%, 0%, 78.1%, 74.9%)
CIE-LABlab(23.80, -21.43, 25.92)
CIE-LCHlch(23.80, 33.63, 129.58°)
OKLaboklab(33.59% -0.0597 0.059)
OKLCHoklch(33.59% 0.084 135.3)
XYZxyz(2.5723, 4.0384, 1.0593)
Luminance0.0404 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#22400E #2C0E40
analogous
#3B400E #22400E #0E4013
triadic
#22400E #0E2240 #400E22
tetradic
#22400E #0E3B40 #2C0E40 #40130E
square
#22400E #0E3B40 #2C0E40 #40130E
split-complementary
#22400E #130E40 #400E3B
monochromatic
#0D1905 #0D1905 #22400E #3D7219 #57A424

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##22400E#FFFFFF#000000##FFFFFF
##22400E1.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)
#433A07
Deuteranopia (green-blind)
#3F3812
Tritanopia (blue-blind)
#213D36
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #22400e;
/* rgb */ color: rgb(34, 64, 14);
/* oklch */ color: oklch(33.6% 0.084 135.3);
Tailwind
colors: {
  custom: {
    50: '#607550',
    500: '#22400e',
    950: '#000000',
  },
}
SCSS
$custom: #22400e;
$custom-light: #607550;
$custom-dark: #000000;
JSON
{
  "hex": "#22400e",
  "rgb": {
    "r": 34,
    "g": 64,
    "b": 14
  },
  "hsl": {
    "h": 96,
    "s": 64.103,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33589,
    "c": 0.08391,
    "h": 135.3
  },
  "luminance": 0.04039
}

Semantic roles & 50–950 ramp

primary
#22400E
secondary
#5D2F7B
accent
#41E7A5
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050802
muted
#797B78

Preview Lab

Preview with #22400E

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

Preview Lab → · Contrast checker → · Palette generator →

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