#222D0F#222D0F

#222D0F is a dark, muted yellow-green. Relative luminance 0.023; OKLCH L 27.9% C 0.051 H 126.3°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#222D0F
RGBrgb(34, 45, 15)
HSLhsl(82, 50%, 12%)
HSVhsv(82, 67%, 18%)
CMYKcmyk(24.4%, 0%, 66.7%, 82.4%)
CIE-LABlab(16.75, -10.83, 17.48)
CIE-LCHlch(16.75, 20.56, 121.78°)
OKLaboklab(27.86% -0.0305 0.0415)
OKLCHoklch(27.86% 0.052 126.3)
XYZxyz(1.6843, 2.2513, 0.7977)
Luminance0.0225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222D0F #1A0F2D
analogous
#2D290F #222D0F #132D0F
triadic
#222D0F #0F222D #2D0F22
tetradic
#222D0F #0F2D29 #1A0F2D #2D0F13
square
#222D0F #0F2D29 #1A0F2D #2D0F13
split-complementary
#222D0F #0F132D #290F2D
monochromatic
#111708 #111708 #222D0F #455B1E #67892E

Accessibility & contrast

On white

14.48
#222D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #222D0F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222D0F#FFFFFF#000000##FFFFFF
##222D0F1.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#2E2911
Tritanopia (blue-blind)
#232B26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #222d0f;
/* rgb */ color: rgb(34, 45, 15);
/* oklch */ color: oklch(27.9% 0.051 126.3);
Tailwind
colors: {
  custom: {
    50: '#5e664e',
    500: '#222d0f',
    950: '#000000',
  },
}
SCSS
$custom: #222d0f;
$custom-light: #5e664e;
$custom-dark: #000000;
JSON
{
  "hex": "#222d0f",
  "rgb": {
    "r": 34,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 82,
    "s": 50,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27864,
    "c": 0.0515,
    "h": 126.3
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#222D0F
secondary
#453166
accent
#4EDA81
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040501
muted
#797A77

Preview Lab

Preview with #222D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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