#08120C#08120C

#08120C is a very dark, near-neutral green. Relative luminance 0.005; OKLCH L 17.0% C 0.020 H 157.5°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#08120C
RGBrgb(8, 18, 12)
HSLhsl(144, 38%, 5%)
HSVhsv(144, 56%, 7%)
CMYKcmyk(55.6%, 0%, 33.3%, 92.9%)
CIE-LABlab(4.61, -4.21, 1.86)
CIE-LCHlch(4.61, 4.60, 156.16°)
OKLaboklab(16.99% -0.0182 0.0075)
OKLCHoklch(16.99% 0.02 157.5)
XYZxyz(0.3828, 0.5108, 0.4262)
Luminance0.0051 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#08120C #12080E
analogous
#091208 #08120C #081211
triadic
#08120C #0C0812 #120C08
tetradic
#08120C #080912 #12080E #121108
square
#08120C #080912 #12080E #121108
split-complementary
#08120C #110812 #120809
monochromatic
#09150E #09150E #09150E #1B3C28 #2E6744

Accessibility & contrast

On white

19.05
#08120C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#08120C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #08120C
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##08120C#FFFFFF#000000##FFFFFF
##08120C1.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12110C
Deuteranopia (green-blind)
#100F0C
Tritanopia (blue-blind)
#061210
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #08120c;
/* rgb */ color: rgb(8, 18, 12);
/* oklch */ color: oklch(17.0% 0.020 157.5);
Tailwind
colors: {
  custom: {
    50: '#4a4f4c',
    500: '#08120c',
    950: '#000000',
  },
}
SCSS
$custom: #08120c;
$custom-light: #4a4f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#08120c",
  "rgb": {
    "r": 8,
    "g": 18,
    "b": 12
  },
  "hsl": {
    "h": 144,
    "s": 38.462,
    "l": 5.098
  },
  "oklch": {
    "l": 0.16987,
    "c": 0.01966,
    "h": 157.5
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#08120C
secondary
#4B2B3E
accent
#59A0CE
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #08120C

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

Preview Lab → · Contrast checker → · Palette generator →

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