#012A12#012A12

#012A12 is a dark, moderate green. Relative luminance 0.017; OKLCH L 25.0% C 0.063 H 152.8°. Best body text is #FFFFFF at 15.66:1 contrast (WCAG AA passes).

Color values

HEX#012A12
RGBrgb(1, 42, 18)
HSLhsl(145, 95%, 8%)
HSVhsv(145, 98%, 16%)
CMYKcmyk(97.6%, 0%, 57.1%, 83.5%)
CIE-LABlab(13.86, -21.02, 11.72)
CIE-LCHlch(13.86, 24.07, 150.86°)
OKLaboklab(25.04% -0.0564 0.029)
OKLCHoklch(25.04% 0.063 152.8)
XYZxyz(0.9496, 1.7059, 0.8514)
Luminance0.0171 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A12 #2A0119
analogous
#042A01 #012A12 #012A26
triadic
#012A12 #12012A #2A1201
tetradic
#012A12 #01042A #2A0119 #2A2601
square
#012A12 #01042A #2A0119 #2A2601
split-complementary
#012A12 #26012A #2A0104
monochromatic
#011E0D #011E0D #012A12 #02662C #04A245

Accessibility & contrast

On white

15.66
#012A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#012A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012A12
15.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A12#FFFFFF#000000##FFFFFF
##012A121.0015.661.3415.66
#FFFFFF15.661.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2510
Deuteranopia (green-blind)
#252214
Tritanopia (blue-blind)
#002924
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #012a12;
/* rgb */ color: rgb(1, 42, 18);
/* oklch */ color: oklch(25.0% 0.063 152.8);
Tailwind
colors: {
  custom: {
    50: '#496450',
    500: '#012a12',
    950: '#000000',
  },
}
SCSS
$custom: #012a12;
$custom-light: #496450;
$custom-dark: #000000;
JSON
{
  "hex": "#012a12",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 18
  },
  "hsl": {
    "h": 144.878,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.25035,
    "c": 0.06338,
    "h": 152.8
  },
  "luminance": 0.01706
}

Semantic roles & 50–950 ramp

primary
#012A12
secondary
#70164B
accent
#29A6FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010502
muted
#777A78

Preview Lab

Preview with #012A12

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

Preview Lab → · Contrast checker → · Palette generator →

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