#222A02#222A02

#222A02 is a dark, moderate yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.061 H 120.4°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#222A02
RGBrgb(34, 42, 2)
HSLhsl(72, 91%, 9%)
HSVhsv(72, 95%, 16%)
CMYKcmyk(19%, 0%, 95.2%, 83.5%)
CIE-LABlab(15.49, -10.35, 21.49)
CIE-LCHlch(15.49, 23.85, 115.72°)
OKLaboklab(26.79% -0.031 0.0527)
OKLCHoklch(26.79% 0.061 120.4)
XYZxyz(1.4986, 2.0004, 0.3646)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A02 #0A022A
analogous
#2A1E02 #222A02 #0E2A02
triadic
#222A02 #02222A #2A0222
tetradic
#222A02 #022A1E #0A022A #2A020E
square
#222A02 #022A1E #0A022A #2A020E
split-complementary
#222A02 #020E2A #1E022A
monochromatic
#181D01 #181D01 #222A02 #516405 #819F08

Accessibility & contrast

On white

15.00
#222A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#222A02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A02
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A02#FFFFFF#000000##FFFFFF
##222A021.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2700
Deuteranopia (green-blind)
#2C2705
Tritanopia (blue-blind)
#252722
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #222a02;
/* rgb */ color: rgb(34, 42, 2);
/* oklch */ color: oklch(26.8% 0.061 120.4);
Tailwind
colors: {
  custom: {
    50: '#5e6347',
    500: '#222a02',
    950: '#000000',
  },
}
SCSS
$custom: #222a02;
$custom-light: #5e6347;
$custom-dark: #000000;
JSON
{
  "hex": "#222a02",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 72,
    "s": 90.909,
    "l": 8.627
  },
  "oklch": {
    "l": 0.26794,
    "c": 0.06116,
    "h": 120.4
  },
  "luminance": 0.02
}

Semantic roles & 50–950 ramp

primary
#222A02
secondary
#2A196F
accent
#29FF54
background
#F5F5F4
surface
#E9EAE6
border
#C5C6C2
text
#040500
muted
#797977

Preview Lab

Preview with #222A02

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

Preview Lab → · Contrast checker → · Palette generator →

#222A02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva