#122008#122008

#122008 is a very dark, muted yellow-green. Relative luminance 0.012; OKLCH L 22.4% C 0.047 H 133.9°. Best body text is #FFFFFF at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#122008
RGBrgb(18, 32, 8)
HSLhsl(95, 60%, 8%)
HSVhsv(95, 75%, 13%)
CMYKcmyk(43.8%, 0%, 75%, 87.5%)
CIE-LABlab(10.40, -11.66, 12.00)
CIE-LCHlch(10.40, 16.74, 134.18°)
OKLaboklab(22.36% -0.0324 0.0337)
OKLCHoklch(22.36% 0.047 133.9)
XYZxyz(0.8098, 1.1791, 0.4146)
Luminance0.0118 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122008 #160820
analogous
#1E2008 #122008 #08200A
triadic
#122008 #081220 #200812
tetradic
#122008 #081E20 #160820 #200A08
square
#122008 #081E20 #160820 #200A08
split-complementary
#122008 #0A0820 #20081E
monochromatic
#0E1806 #0E1806 #122008 #2E5114 #498220

Accessibility & contrast

On white

16.99
#122008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#122008 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122008
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122008#FFFFFF#000000##FFFFFF
##1220081.0016.991.2416.99
#FFFFFF16.991.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#221D06
Deuteranopia (green-blind)
#201C0A
Tritanopia (blue-blind)
#121E1B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #122008;
/* rgb */ color: rgb(18, 32, 8);
/* oklch */ color: oklch(22.4% 0.047 133.9);
Tailwind
colors: {
  custom: {
    50: '#505b4a',
    500: '#122008',
    950: '#000000',
  },
}
SCSS
$custom: #122008;
$custom-light: #505b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#122008",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 8
  },
  "hsl": {
    "h": 95,
    "s": 60,
    "l": 7.843
  },
  "oklch": {
    "l": 0.22362,
    "c": 0.04674,
    "h": 133.9
  },
  "luminance": 0.01179
}

Semantic roles & 50–950 ramp

primary
#122008
secondary
#47265E
accent
#45E3A1
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#020401
muted
#787977

Preview Lab

Preview with #122008

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

Preview Lab → · Contrast checker → · Palette generator →

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