#222816#222816

#222816 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.5% C 0.033 H 123.6°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#222816
RGBrgb(34, 40, 22)
HSLhsl(80, 29%, 12%)
HSVhsv(80, 45%, 16%)
CMYKcmyk(15%, 0%, 45%, 84.3%)
CIE-LABlab(15.04, -6.63, 10.99)
CIE-LCHlch(15.04, 12.84, 121.09°)
OKLaboklab(26.52% -0.0181 0.0272)
OKLCHoklch(26.52% 0.033 123.6)
XYZxyz(1.5633, 1.9156, 1.0463)
Luminance0.0192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222816 #1C1628
analogous
#282516 #222816 #192816
triadic
#222816 #162228 #281622
tetradic
#222816 #162825 #1C1628 #281619
square
#222816 #162825 #1C1628 #281619
split-complementary
#222816 #161928 #251628
monochromatic
#11140B #11140B #222816 #444F2C #657741

Accessibility & contrast

On white

15.18
#222816 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#222816 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222816
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222816#FFFFFF#000000##FFFFFF
##2228161.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2615
Deuteranopia (green-blind)
#292617
Tritanopia (blue-blind)
#232623
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #222816;
/* rgb */ color: rgb(34, 40, 22);
/* oklch */ color: oklch(26.5% 0.033 123.6);
Tailwind
colors: {
  custom: {
    50: '#5d6153',
    500: '#222816',
    950: '#000000',
  },
}
SCSS
$custom: #222816;
$custom-light: #5d6153;
$custom-dark: #000000;
JSON
{
  "hex": "#222816",
  "rgb": {
    "r": 34,
    "g": 40,
    "b": 22
  },
  "hsl": {
    "h": 80,
    "s": 29.032,
    "l": 12.157
  },
  "oklch": {
    "l": 0.26523,
    "c": 0.03265,
    "h": 123.6
  },
  "luminance": 0.01916
}

Semantic roles & 50–950 ramp

primary
#222816
secondary
#483D5D
accent
#62C583
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040502
muted
#797978

Preview Lab

Preview with #222816

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

Preview Lab → · Contrast checker → · Palette generator →

#222816 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva