#222C12#222C12

#222C12 is a dark, muted yellow-green. Relative luminance 0.022; OKLCH L 27.6% C 0.046 H 126.5°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#222C12
RGBrgb(34, 44, 18)
HSLhsl(83, 42%, 12%)
HSVhsv(83, 59%, 17%)
CMYKcmyk(22.7%, 0%, 59.1%, 82.7%)
CIE-LABlab(16.43, -9.81, 15.37)
CIE-LCHlch(16.43, 18.23, 122.56°)
OKLaboklab(27.62% -0.0273 0.0369)
OKLCHoklch(27.62% 0.046 126.5)
XYZxyz(1.6695, 2.1851, 0.9060)
Luminance0.0219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#222C12 #1C122C
analogous
#2C2912 #222C12 #152C12
triadic
#222C12 #12222C #2C1222
tetradic
#222C12 #122C29 #1C122C #2C1215
square
#222C12 #122C29 #1C122C #2C1215
split-complementary
#222C12 #12152C #29122C
monochromatic
#111609 #111609 #222C12 #445724 #658336

Accessibility & contrast

On white

14.61
#222C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#222C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #222C12
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##222C12#FFFFFF#000000##FFFFFF
##222C121.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2910
Deuteranopia (green-blind)
#2D2914
Tritanopia (blue-blind)
#232A26
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #222c12;
/* rgb */ color: rgb(34, 44, 18);
/* oklch */ color: oklch(27.6% 0.046 126.5);
Tailwind
colors: {
  custom: {
    50: '#5e6550',
    500: '#222c12',
    950: '#000000',
  },
}
SCSS
$custom: #222c12;
$custom-light: #5e6550;
$custom-dark: #000000;
JSON
{
  "hex": "#222c12",
  "rgb": {
    "r": 34,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 83.077,
    "s": 41.935,
    "l": 12.157
  },
  "oklch": {
    "l": 0.27617,
    "c": 0.04592,
    "h": 126.5
  },
  "luminance": 0.02185
}

Semantic roles & 50–950 ramp

primary
#222C12
secondary
#483663
accent
#56D286
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040502
muted
#797A78

Preview Lab

Preview with #222C12

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

Preview Lab → · Contrast checker → · Palette generator →

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