#222A05#222A05

#222A05 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.8% C 0.058 H 120.9°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#222A05
RGBrgb(34, 42, 5)
HSLhsl(73, 79%, 9%)
HSVhsv(73, 88%, 16%)
CMYKcmyk(19%, 0%, 88.1%, 83.5%)
CIE-LABlab(15.52, -10.04, 20.31)
CIE-LCHlch(15.52, 22.66, 116.31°)
OKLaboklab(26.83% -0.0296 0.0494)
OKLCHoklch(26.83% 0.058 120.9)
XYZxyz(1.5151, 2.0070, 0.4511)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A05 #0D052A
analogous
#2A2005 #222A05 #102A05
triadic
#222A05 #05222A #2A0522
tetradic
#222A05 #052A20 #0D052A #2A0510
square
#222A05 #052A20 #0D052A #2A0510
split-complementary
#222A05 #05102A #20052A
monochromatic
#161B03 #161B03 #222A05 #4E610C #7B9712

Accessibility & contrast

On white

14.99
#222A05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222A05
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A05#FFFFFF#000000##FFFFFF
##222A051.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2701
Deuteranopia (green-blind)
#2C2707
Tritanopia (blue-blind)
#242723
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #222a05;
/* rgb */ color: rgb(34, 42, 5);
/* oklch */ color: oklch(26.8% 0.058 120.9);
Tailwind
colors: {
  custom: {
    50: '#5e6349',
    500: '#222a05',
    950: '#000000',
  },
}
SCSS
$custom: #222a05;
$custom-light: #5e6349;
$custom-dark: #000000;
JSON
{
  "hex": "#222a05",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 5
  },
  "hsl": {
    "h": 72.973,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.26833,
    "c": 0.0576,
    "h": 120.9
  },
  "luminance": 0.02007
}

Semantic roles & 50–950 ramp

primary
#222A05
secondary
#301F6C
accent
#33F55D
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #222A05

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

Preview Lab → · Contrast checker → · Palette generator →

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