#222806#222806

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

Color values

HEX#222806
RGBrgb(34, 40, 6)
HSLhsl(71, 74%, 9%)
HSVhsv(71, 85%, 16%)
CMYKcmyk(15%, 0%, 85%, 84.3%)
CIE-LABlab(14.79, -8.69, 18.97)
CIE-LCHlch(14.79, 20.87, 114.60°)
OKLaboklab(26.25% -0.0257 0.0468)
OKLCHoklch(26.25% 0.053 118.8)
XYZxyz(1.4514, 1.8708, 0.4569)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222806 #0C0628
analogous
#281D06 #222806 #112806
triadic
#222806 #062228 #280622
tetradic
#222806 #06281D #0C0628 #280611
square
#222806 #06281D #0C0628 #280611
split-complementary
#222806 #061128 #1D0628
monochromatic
#171B04 #171B04 #222806 #4F5D0E #7C9216

Accessibility & contrast

On white

15.28
#222806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222806
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222806#FFFFFF#000000##FFFFFF
##2228061.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222806;
/* rgb */ color: rgb(34, 40, 6);
/* oklch */ color: oklch(26.2% 0.053 118.8);
Tailwind
colors: {
  custom: {
    50: '#5e6149',
    500: '#222806',
    950: '#000000',
  },
}
SCSS
$custom: #222806;
$custom-light: #5e6149;
$custom-dark: #000000;
JSON
{
  "hex": "#222806",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 6
  },
  "hsl": {
    "h": 70.588,
    "s": 73.913,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26249,
    "c": 0.05336,
    "h": 118.8
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#222806
secondary
#2E2169
accent
#37F158
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #222806

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

Preview Lab → · Contrast checker → · Palette generator →

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