#12220C#12220C

#12220C is a very dark, muted green. Relative luminance 0.013; OKLCH L 23.1% C 0.045 H 137.8°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#12220C
RGBrgb(18, 34, 12)
HSLhsl(104, 48%, 9%)
HSVhsv(104, 65%, 13%)
CMYKcmyk(47.1%, 0%, 64.7%, 86.7%)
CIE-LABlab(11.27, -12.24, 11.54)
CIE-LCHlch(11.27, 16.82, 136.69°)
OKLaboklab(23.09% -0.0336 0.0305)
OKLCHoklch(23.09% 0.045 137.8)
XYZxyz(0.8878, 1.2992, 0.5517)
Luminance0.0130 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12220C #1C0C22
analogous
#1D220C #12220C #0C2211
triadic
#12220C #0C1222 #220C12
tetradic
#12220C #0C1D22 #1C0C22 #22110C
square
#12220C #0C1D22 #1C0C22 #22110C
split-complementary
#12220C #110C22 #220C1D
monochromatic
#0C1708 #0C1708 #12220C #2A4F1C #427C2C

Accessibility & contrast

On white

16.67
#12220C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#12220C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12220C
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12220C#FFFFFF#000000##FFFFFF
##12220C1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#231F0A
Deuteranopia (green-blind)
#211D0D
Tritanopia (blue-blind)
#11211D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #12220c;
/* rgb */ color: rgb(18, 34, 12);
/* oklch */ color: oklch(23.1% 0.045 137.8);
Tailwind
colors: {
  custom: {
    50: '#505d4c',
    500: '#12220c',
    950: '#000000',
  },
}
SCSS
$custom: #12220c;
$custom-light: #505d4c;
$custom-dark: #000000;
JSON
{
  "hex": "#12220c",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 12
  },
  "hsl": {
    "h": 103.636,
    "s": 47.826,
    "l": 9.02
  },
  "oklch": {
    "l": 0.23088,
    "c": 0.04539,
    "h": 137.8
  },
  "luminance": 0.01299
}

Semantic roles & 50–950 ramp

primary
#12220C
secondary
#4F2E5C
accent
#50D7B3
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020401
muted
#787977

Preview Lab

Preview with #12220C

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

Preview Lab → · Contrast checker → · Palette generator →

#12220C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva