#222805#222805

#222805 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.055 H 118.6°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#222805
RGBrgb(34, 40, 5)
HSLhsl(70, 78%, 9%)
HSVhsv(70, 88%, 16%)
CMYKcmyk(15%, 0%, 87.5%, 84.3%)
CIE-LABlab(14.78, -8.79, 19.36)
CIE-LCHlch(14.78, 21.27, 114.42°)
OKLaboklab(26.24% -0.0261 0.0479)
OKLCHoklch(26.24% 0.055 118.6)
XYZxyz(1.4459, 1.8686, 0.4281)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222805 #0B0528
analogous
#281D05 #222805 #112805
triadic
#222805 #052228 #280522
tetradic
#222805 #05281D #0B0528 #280511
square
#222805 #05281D #0B0528 #280511
split-complementary
#222805 #051128 #1D0528
monochromatic
#171B03 #171B03 #222805 #505E0C #7E9513

Accessibility & contrast

On white

15.29
#222805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#222805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222805
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222805#FFFFFF#000000##FFFFFF
##2228051.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2502
Deuteranopia (green-blind)
#2B2507
Tritanopia (blue-blind)
#252521
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #222805;
/* rgb */ color: rgb(34, 40, 5);
/* oklch */ color: oklch(26.2% 0.055 118.6);
Tailwind
colors: {
  custom: {
    50: '#5e6149',
    500: '#222805',
    950: '#000000',
  },
}
SCSS
$custom: #222805;
$custom-light: #5e6149;
$custom-dark: #000000;
JSON
{
  "hex": "#222805",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 5
  },
  "hsl": {
    "h": 70.286,
    "s": 77.778,
    "l": 8.824
  },
  "oklch": {
    "l": 0.26236,
    "c": 0.05456,
    "h": 118.6
  },
  "luminance": 0.01869
}

Semantic roles & 50–950 ramp

primary
#222805
secondary
#2C1F6A
accent
#34F455
background
#F5F5F4
surface
#E9E9E6
border
#C5C5C2
text
#040501
muted
#797977

Preview Lab

Preview with #222805

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

Preview Lab → · Contrast checker → · Palette generator →

#222805 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva