#002812#002812

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

Color values

HEX#002812
RGBrgb(0, 40, 18)
HSLhsl(147, 100%, 8%)
HSVhsv(147, 100%, 16%)
CMYKcmyk(100%, 0%, 55%, 84.3%)
CIE-LABlab(12.99, -20.46, 10.56)
CIE-LCHlch(12.99, 23.02, 152.70°)
OKLaboklab(24.3% -0.0549 0.0263)
OKLCHoklch(24.3% 0.061 154.4)
XYZxyz(0.8679, 1.5611, 0.8277)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#002812 #280016
analogous
#022800 #002812 #002826
triadic
#002812 #120028 #281200
tetradic
#002812 #000228 #280016 #282600
square
#002812 #000228 #280016 #282600
split-complementary
#002812 #260028 #280002
monochromatic
#001F0E #001F0E #002812 #00652E #00A249

Accessibility & contrast

On white

16.00
#002812 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #002812
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##002812#FFFFFF#000000##FFFFFF
##0028121.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.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: #002812;
/* rgb */ color: rgb(0, 40, 18);
/* oklch */ color: oklch(24.3% 0.061 154.4);
Tailwind
colors: {
  custom: {
    50: '#476250',
    500: '#002812',
    950: '#000000',
  },
}
SCSS
$custom: #002812;
$custom-light: #476250;
$custom-dark: #000000;
JSON
{
  "hex": "#002812",
  "rgb": {
    "r": 0,
    "g": 40,
    "b": 18
  },
  "hsl": {
    "h": 147,
    "s": 100,
    "l": 7.843
  },
  "oklch": {
    "l": 0.24302,
    "c": 0.06086,
    "h": 154.4
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#002812
secondary
#701447
accent
#299FFF
background
#F4F5F4
surface
#E6EAE7
border
#C2C6C3
text
#000502
muted
#777978

Preview Lab

Preview with #002812

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

Preview Lab → · Contrast checker → · Palette generator →

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