#222A08#222A08

#222A08 is a dark, muted yellow-green. Relative luminance 0.020; OKLCH L 26.9% C 0.054 H 121.5°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#222A08
RGBrgb(34, 42, 8)
HSLhsl(74, 68%, 10%)
HSVhsv(74, 81%, 16%)
CMYKcmyk(19%, 0%, 81%, 83.5%)
CIE-LABlab(15.56, -9.74, 19.13)
CIE-LCHlch(15.56, 21.47, 116.97°)
OKLaboklab(26.87% -0.0283 0.0462)
OKLCHoklch(26.87% 0.054 121.5)
XYZxyz(1.5315, 2.0135, 0.5377)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A08 #10082A
analogous
#2A2108 #222A08 #112A08
triadic
#222A08 #08222A #2A0822
tetradic
#222A08 #082A21 #10082A #2A0811
square
#222A08 #082A21 #10082A #2A0811
split-complementary
#222A08 #08112A #21082A
monochromatic
#151A05 #151A05 #222A08 #4C5D12 #75911C

Accessibility & contrast

On white

14.97
#222A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222A08
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A08#FFFFFF#000000##FFFFFF
##222A081.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222a08;
/* rgb */ color: rgb(34, 42, 8);
/* oklch */ color: oklch(26.9% 0.054 121.5);
Tailwind
colors: {
  custom: {
    50: '#5e634a',
    500: '#222a08',
    950: '#000000',
  },
}
SCSS
$custom: #222a08;
$custom-light: #5e634a;
$custom-dark: #000000;
JSON
{
  "hex": "#222a08",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 8
  },
  "hsl": {
    "h": 74.118,
    "s": 68,
    "l": 9.804
  },
  "oklch": {
    "l": 0.26872,
    "c": 0.05421,
    "h": 121.5
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#222A08
secondary
#352569
accent
#3DEB66
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #222A08

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

Preview Lab → · Contrast checker → · Palette generator →

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