#222D0C#222D0C

#222D0C is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.8% C 0.055 H 125.4°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#222D0C
RGBrgb(34, 45, 12)
HSLhsl(80, 58%, 11%)
HSVhsv(80, 73%, 18%)
CMYKcmyk(24.4%, 0%, 73.3%, 82.4%)
CIE-LABlab(16.72, -11.18, 18.91)
CIE-LCHlch(16.72, 21.96, 120.59°)
OKLaboklab(27.82% -0.0318 0.0448)
OKLCHoklch(27.82% 0.055 125.4)
XYZxyz(1.6644, 2.2434, 0.6931)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D0C #170C2D
analogous
#2D270C #222D0C #112D0C
triadic
#222D0C #0C222D #2D0C22
tetradic
#222D0C #0C2D27 #170C2D #2D0C11
square
#222D0C #0C2D27 #170C2D #2D0C11
split-complementary
#222D0C #0C112D #270C2D
monochromatic
#121806 #121806 #222D0C #475D19 #6B8E26

Accessibility & contrast

On white

14.50
#222D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222D0C
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D0C#FFFFFF#000000##FFFFFF
##222D0C1.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A08
Deuteranopia (green-blind)
#2E290E
Tritanopia (blue-blind)
#242B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #222d0c;
/* rgb */ color: rgb(34, 45, 12);
/* oklch */ color: oklch(27.8% 0.055 125.4);
Tailwind
colors: {
  custom: {
    50: '#5e664c',
    500: '#222d0c',
    950: '#000000',
  },
}
SCSS
$custom: #222d0c;
$custom-light: #5e664c;
$custom-dark: #000000;
JSON
{
  "hex": "#222d0c",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 80,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2782,
    "c": 0.05492,
    "h": 125.4
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#222D0C
secondary
#402C69
accent
#47E17A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #222D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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