#222D07#222D07

#222D07 is a dark, moderate yellow-green. Relative luminance 0.022; OKLCH L 27.8% C 0.060 H 124.2°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#222D07
RGBrgb(34, 45, 7)
HSLhsl(77, 73%, 10%)
HSVhsv(77, 84%, 18%)
CMYKcmyk(24.4%, 0%, 84.4%, 82.4%)
CIE-LABlab(16.66, -11.67, 20.92)
CIE-LCHlch(16.66, 23.96, 119.16°)
OKLaboklab(27.76% -0.0338 0.0497)
OKLCHoklch(27.76% 0.06 124.2)
XYZxyz(1.6364, 2.2322, 0.5456)
Luminance0.0223 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D07 #12072D
analogous
#2D2507 #222D07 #0F2D07
triadic
#222D07 #07222D #2D0722
tetradic
#222D07 #072D25 #12072D #2D070F
square
#222D07 #072D25 #12072D #2D070F
split-complementary
#222D07 #070F2D #25072D
monochromatic
#141A04 #141A04 #222D07 #4A620F #729717

Accessibility & contrast

On white

14.52
#222D07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#222D07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222D07
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D07#FFFFFF#000000##FFFFFF
##222D071.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A03
Deuteranopia (green-blind)
#2F290A
Tritanopia (blue-blind)
#242A25
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #222d07;
/* rgb */ color: rgb(34, 45, 7);
/* oklch */ color: oklch(27.8% 0.060 124.2);
Tailwind
colors: {
  custom: {
    50: '#5e664a',
    500: '#222d07',
    950: '#000000',
  },
}
SCSS
$custom: #222d07;
$custom-light: #5e664a;
$custom-dark: #000000;
JSON
{
  "hex": "#222d07",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 7
  },
  "hsl": {
    "h": 77.368,
    "s": 73.077,
    "l": 10.196
  },
  "oklch": {
    "l": 0.27758,
    "c": 0.06006,
    "h": 124.2
  },
  "luminance": 0.02232
}

Semantic roles & 50–950 ramp

primary
#222D07
secondary
#38236D
accent
#38F06D
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #222D07

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

Preview Lab → · Contrast checker → · Palette generator →

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