#012D0C#012D0C

#012D0C is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.0% C 0.075 H 147.6°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#012D0C
RGBrgb(1, 45, 12)
HSLhsl(135, 96%, 9%)
HSVhsv(135, 98%, 18%)
CMYKcmyk(97.8%, 0%, 73.3%, 82.4%)
CIE-LABlab(15.01, -23.46, 16.39)
CIE-LCHlch(15.01, 28.62, 145.05°)
OKLaboklab(25.95% -0.0629 0.04)
OKLCHoklch(25.95% 0.075 147.6)
XYZxyz(1.0172, 1.9096, 0.6627)
Luminance0.0191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012D0C #2D0122
analogous
#0C2D01 #012D0C #012D22
triadic
#012D0C #0C012D #2D0C01
tetradic
#012D0C #010C2D #2D0122 #2D2201
square
#012D0C #010C2D #2D0122 #2D2201
split-complementary
#012D0C #22012D #2D010C
monochromatic
#011E08 #011E08 #012D0C #02691C #04A52C

Accessibility & contrast

On white

15.20
#012D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#012D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012D0C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012D0C#FFFFFF#000000##FFFFFF
##012D0C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2809
Deuteranopia (green-blind)
#29240F
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #012d0c;
/* rgb */ color: rgb(1, 45, 12);
/* oklch */ color: oklch(26.0% 0.075 147.6);
Tailwind
colors: {
  custom: {
    50: '#4a664c',
    500: '#012d0c',
    950: '#000000',
  },
}
SCSS
$custom: #012d0c;
$custom-light: #4a664c;
$custom-dark: #000000;
JSON
{
  "hex": "#012d0c",
  "rgb": {
    "r": 1,
    "g": 45,
    "b": 12
  },
  "hsl": {
    "h": 135,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.25954,
    "c": 0.07456,
    "h": 147.6
  },
  "luminance": 0.0191
}

Semantic roles & 50–950 ramp

primary
#012D0C
secondary
#73175C
accent
#29C9FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #012D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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