#222A07#222A07

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

Color values

HEX#222A07
RGBrgb(34, 42, 7)
HSLhsl(74, 71%, 10%)
HSVhsv(74, 83%, 16%)
CMYKcmyk(19%, 0%, 83.3%, 83.5%)
CIE-LABlab(15.55, -9.84, 19.53)
CIE-LCHlch(15.55, 21.87, 116.75°)
OKLaboklab(26.86% -0.0287 0.0473)
OKLCHoklch(26.86% 0.055 121.3)
XYZxyz(1.5260, 2.0114, 0.5088)
Luminance0.0201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A07 #0F072A
analogous
#2A2107 #222A07 #112A07
triadic
#222A07 #07222A #2A0722
tetradic
#222A07 #072A21 #0F072A #2A0711
square
#222A07 #072A21 #0F072A #2A0711
split-complementary
#222A07 #07112A #21072A
monochromatic
#151A04 #151A04 #222A07 #4C5E10 #779318

Accessibility & contrast

On white

14.98
#222A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222A07
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A07#FFFFFF#000000##FFFFFF
##222A071.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #222a07;
/* rgb */ color: rgb(34, 42, 7);
/* oklch */ color: oklch(26.9% 0.055 121.3);
Tailwind
colors: {
  custom: {
    50: '#5e634a',
    500: '#222a07',
    950: '#000000',
  },
}
SCSS
$custom: #222a07;
$custom-light: #5e634a;
$custom-dark: #000000;
JSON
{
  "hex": "#222a07",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 73.714,
    "s": 71.429,
    "l": 9.608
  },
  "oklch": {
    "l": 0.26859,
    "c": 0.05532,
    "h": 121.3
  },
  "luminance": 0.02011
}

Semantic roles & 50–950 ramp

primary
#222A07
secondary
#33236A
accent
#3AEE63
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040501
muted
#797977

Preview Lab

Preview with #222A07

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

Preview Lab → · Contrast checker → · Palette generator →

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