#222906#222906

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

Color values

HEX#222906
RGBrgb(34, 41, 6)
HSLhsl(72, 74%, 9%)
HSVhsv(72, 85%, 16%)
CMYKcmyk(17.1%, 0%, 85.4%, 83.9%)
CIE-LABlab(15.16, -9.32, 19.45)
CIE-LCHlch(15.16, 21.56, 115.60°)
OKLaboklab(26.55% -0.0274 0.0476)
OKLCHoklch(26.55% 0.055 120)
XYZxyz(1.4855, 1.9391, 0.4683)
Luminance0.0194 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222906 #0D0629
analogous
#291F06 #222906 #112906
triadic
#222906 #062229 #290622
tetradic
#222906 #06291F #0D0629 #290611
square
#222906 #06291F #0D0629 #290611
split-complementary
#222906 #061129 #1F0629
monochromatic
#161B04 #161B04 #222906 #4E5E0E #7B9416

Accessibility & contrast

On white

15.13
#222906 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#222906 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222906
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222906#FFFFFF#000000##FFFFFF
##2229061.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2603
Deuteranopia (green-blind)
#2B2608
Tritanopia (blue-blind)
#242622
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #222906;
/* rgb */ color: rgb(34, 41, 6);
/* oklch */ color: oklch(26.5% 0.055 120.0);
Tailwind
colors: {
  custom: {
    50: '#5e6249',
    500: '#222906',
    950: '#000000',
  },
}
SCSS
$custom: #222906;
$custom-light: #5e6249;
$custom-dark: #000000;
JSON
{
  "hex": "#222906",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 6
  },
  "hsl": {
    "h": 72,
    "s": 74.468,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26547,
    "c": 0.0549,
    "h": 120
  },
  "luminance": 0.01939
}

Semantic roles & 50–950 ramp

primary
#222906
secondary
#30216A
accent
#37F15C
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #222906

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

Preview Lab → · Contrast checker → · Palette generator →

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