#012C12#012C12

#012C12 is a dark, moderate green. Relative luminance 0.019; OKLCH L 25.7% C 0.067 H 151.9°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#012C12
RGBrgb(1, 44, 18)
HSLhsl(144, 96%, 9%)
HSVhsv(144, 98%, 17%)
CMYKcmyk(97.7%, 0%, 59.1%, 82.7%)
CIE-LABlab(14.69, -21.90, 12.80)
CIE-LCHlch(14.69, 25.37, 149.70°)
OKLaboklab(25.72% -0.0587 0.0314)
OKLCHoklch(25.72% 0.067 151.9)
XYZxyz(1.0223, 1.8514, 0.8756)
Luminance0.0185 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012C12 #2C011B
analogous
#062C01 #012C12 #012C28
triadic
#012C12 #12012C #2C1201
tetradic
#012C12 #01062C #2C011B #2C2801
square
#012C12 #01062C #2C011B #2C2801
split-complementary
#012C12 #28012C #2C0106
monochromatic
#011E0C #011E0C #012C12 #02682A #04A443

Accessibility & contrast

On white

15.33
#012C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#012C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012C12
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012C12#FFFFFF#000000##FFFFFF
##012C121.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2710
Deuteranopia (green-blind)
#272414
Tritanopia (blue-blind)
#002B26
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #012c12;
/* rgb */ color: rgb(1, 44, 18);
/* oklch */ color: oklch(25.7% 0.067 151.9);
Tailwind
colors: {
  custom: {
    50: '#496650',
    500: '#012c12',
    950: '#000000',
  },
}
SCSS
$custom: #012c12;
$custom-light: #496650;
$custom-dark: #000000;
JSON
{
  "hex": "#012c12",
  "rgb": {
    "r": 1,
    "g": 44,
    "b": 18
  },
  "hsl": {
    "h": 143.721,
    "s": 95.556,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25719,
    "c": 0.06654,
    "h": 151.9
  },
  "luminance": 0.01851
}

Semantic roles & 50–950 ramp

primary
#012C12
secondary
#72174E
accent
#29AAFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010602
muted
#777A78

Preview Lab

Preview with #012C12

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

Preview Lab → · Contrast checker → · Palette generator →

#012C12 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva