#012812#012812

#012812 is a very dark, moderate green. Relative luminance 0.016; OKLCH L 24.3% C 0.060 H 153.9°. Best body text is #FFFFFF at 15.99:1 contrast (WCAG AA passes).

Color values

HEX#012812
RGBrgb(1, 40, 18)
HSLhsl(146, 95%, 8%)
HSVhsv(146, 98%, 16%)
CMYKcmyk(97.5%, 0%, 55%, 84.3%)
CIE-LABlab(13.03, -20.13, 10.62)
CIE-LCHlch(13.03, 22.76, 152.18°)
OKLaboklab(24.35% -0.054 0.0265)
OKLCHoklch(24.35% 0.06 153.9)
XYZxyz(0.8804, 1.5676, 0.8283)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012812 #280117
analogous
#032801 #012812 #012825
triadic
#012812 #120128 #281201
tetradic
#012812 #010328 #280117 #282501
square
#012812 #010328 #280117 #282501
split-complementary
#012812 #250128 #280103
monochromatic
#011E0D #011E0D #012812 #02642D #049F48

Accessibility & contrast

On white

15.99
#012812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#012812 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012812
15.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012812#FFFFFF#000000##FFFFFF
##0128121.0015.991.3115.99
#FFFFFF15.991.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282410
Deuteranopia (green-blind)
#232014
Tritanopia (blue-blind)
#002723
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #012812;
/* rgb */ color: rgb(1, 40, 18);
/* oklch */ color: oklch(24.3% 0.060 153.9);
Tailwind
colors: {
  custom: {
    50: '#486250',
    500: '#012812',
    950: '#000000',
  },
}
SCSS
$custom: #012812;
$custom-light: #486250;
$custom-dark: #000000;
JSON
{
  "hex": "#012812",
  "rgb": {
    "r": 1,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 146.154,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24347,
    "c": 0.06017,
    "h": 153.9
  },
  "luminance": 0.01568
}

Semantic roles & 50–950 ramp

primary
#012812
secondary
#6F1648
accent
#29A2FF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#010502
muted
#777978

Preview Lab

Preview with #012812

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

Preview Lab → · Contrast checker → · Palette generator →

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