#222902#222902

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

Color values

HEX#222902
RGBrgb(34, 41, 2)
HSLhsl(71, 91%, 8%)
HSVhsv(71, 95%, 16%)
CMYKcmyk(17.1%, 0%, 95.1%, 83.9%)
CIE-LABlab(15.12, -9.73, 21.02)
CIE-LCHlch(15.12, 23.16, 114.85°)
OKLaboklab(26.49% -0.0293 0.052)
OKLCHoklch(26.49% 0.06 119.4)
XYZxyz(1.4636, 1.9303, 0.3529)
Luminance0.0193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222902 #090229
analogous
#291C02 #222902 #0E2902
triadic
#222902 #022229 #290222
tetradic
#222902 #02291C #090229 #29020E
square
#222902 #02291C #090229 #29020E
split-complementary
#222902 #020E29 #1C0229
monochromatic
#181D01 #181D01 #222902 #526305 #839E08

Accessibility & contrast

On white

15.15
#222902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222902
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222902#FFFFFF#000000##FFFFFF
##2229021.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2600
Deuteranopia (green-blind)
#2C2604
Tritanopia (blue-blind)
#252621
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #222902;
/* rgb */ color: rgb(34, 41, 2);
/* oklch */ color: oklch(26.5% 0.060 119.4);
Tailwind
colors: {
  custom: {
    50: '#5e6247',
    500: '#222902',
    950: '#000000',
  },
}
SCSS
$custom: #222902;
$custom-light: #5e6247;
$custom-dark: #000000;
JSON
{
  "hex": "#222902",
  "rgb": {
    "r": 34,
    "g": 41,
    "b": 2
  },
  "hsl": {
    "h": 70.769,
    "s": 90.698,
    "l": 8.431
  },
  "oklch": {
    "l": 0.26494,
    "c": 0.05972,
    "h": 119.4
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#222902
secondary
#28196E
accent
#29FF4F
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #222902

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

Preview Lab → · Contrast checker → · Palette generator →

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