#222F06#222F06

#222F06 is a dark, moderate yellow-green. Relative luminance 0.024; OKLCH L 28.3% C 0.064 H 125.7°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#222F06
RGBrgb(34, 47, 6)
HSLhsl(79, 77%, 10%)
HSVhsv(79, 87%, 18%)
CMYKcmyk(27.7%, 0%, 87.2%, 81.6%)
CIE-LABlab(17.40, -12.96, 22.23)
CIE-LCHlch(17.40, 25.73, 120.23°)
OKLaboklab(28.35% -0.0374 0.0522)
OKLCHoklch(28.35% 0.064 125.7)
XYZxyz(1.7091, 2.3862, 0.5428)
Luminance0.0239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222F06 #13062F
analogous
#2F2706 #222F06 #0E2F06
triadic
#222F06 #06222F #2F0622
tetradic
#222F06 #062F27 #13062F #2F060E
square
#222F06 #062F27 #13062F #2F060E
split-complementary
#222F06 #060E2F #27062F
monochromatic
#141B03 #141B03 #222F06 #49650D #719C14

Accessibility & contrast

On white

14.22
#222F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#222F06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222F06
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222F06#FFFFFF#000000##FFFFFF
##222F061.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B02
Deuteranopia (green-blind)
#302B09
Tritanopia (blue-blind)
#242C27
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #222f06;
/* rgb */ color: rgb(34, 47, 6);
/* oklch */ color: oklch(28.3% 0.064 125.7);
Tailwind
colors: {
  custom: {
    50: '#5e674a',
    500: '#222f06',
    950: '#000000',
  },
}
SCSS
$custom: #222f06;
$custom-light: #5e674a;
$custom-dark: #000000;
JSON
{
  "hex": "#222f06",
  "rgb": {
    "r": 34,
    "g": 47,
    "b": 6
  },
  "hsl": {
    "h": 79.024,
    "s": 77.358,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2835,
    "c": 0.06423,
    "h": 125.7
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#222F06
secondary
#3A2170
accent
#34F471
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #222F06

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

Preview Lab → · Contrast checker → · Palette generator →

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