#222A16#222A16

#222A16 is a dark, muted yellow-green. Relative luminance 0.021; OKLCH L 27.1% C 0.037 H 126.5°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#222A16
RGBrgb(34, 42, 22)
HSLhsl(84, 31%, 13%)
HSVhsv(84, 48%, 16%)
CMYKcmyk(19%, 0%, 47.6%, 83.5%)
CIE-LABlab(15.77, -7.92, 11.94)
CIE-LCHlch(15.77, 14.33, 123.56°)
OKLaboklab(27.11% -0.0217 0.0294)
OKLCHoklch(27.11% 0.037 126.5)
XYZxyz(1.6325, 2.0539, 1.0693)
Luminance0.0205 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222A16 #1E162A
analogous
#2A2816 #222A16 #182A16
triadic
#222A16 #16222A #2A1622
tetradic
#222A16 #162A28 #1E162A #2A1618
square
#222A16 #162A28 #1E162A #2A1618
split-complementary
#222A16 #16182A #28162A
monochromatic
#10140B #10140B #222A16 #43522B #637A40

Accessibility & contrast

On white

14.89
#222A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#222A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222A16
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222A16#FFFFFF#000000##FFFFFF
##222A161.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2815
Deuteranopia (green-blind)
#2B2717
Tritanopia (blue-blind)
#232825
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #222a16;
/* rgb */ color: rgb(34, 42, 22);
/* oklch */ color: oklch(27.1% 0.037 126.5);
Tailwind
colors: {
  custom: {
    50: '#5d6353',
    500: '#222a16',
    950: '#000000',
  },
}
SCSS
$custom: #222a16;
$custom-light: #5d6353;
$custom-dark: #000000;
JSON
{
  "hex": "#222a16",
  "rgb": {
    "r": 34,
    "g": 42,
    "b": 22
  },
  "hsl": {
    "h": 84,
    "s": 31.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.27108,
    "c": 0.03654,
    "h": 126.5
  },
  "luminance": 0.02054
}

Semantic roles & 50–950 ramp

primary
#222A16
secondary
#4A3D5F
accent
#60C78A
background
#F5F5F4
surface
#E9EAE7
border
#C5C6C3
text
#040502
muted
#797978

Preview Lab

Preview with #222A16

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

Preview Lab → · Contrast checker → · Palette generator →

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