#012D0F#012D0F

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

Color values

HEX#012D0F
RGBrgb(1, 45, 15)
HSLhsl(139, 96%, 9%)
HSVhsv(139, 98%, 18%)
CMYKcmyk(97.8%, 0%, 66.7%, 82.4%)
CIE-LABlab(15.05, -22.93, 14.97)
CIE-LCHlch(15.05, 27.39, 146.86°)
OKLaboklab(26% -0.0614 0.0364)
OKLCHoklch(26% 0.071 149.3)
XYZxyz(1.0370, 1.9176, 0.7673)
Luminance0.0192 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012D0F #2D011F
analogous
#092D01 #012D0F #012D25
triadic
#012D0F #0F012D #2D0F01
tetradic
#012D0F #01092D #2D011F #2D2501
square
#012D0F #01092D #2D011F #2D2501
split-complementary
#012D0F #25012D #2D0109
monochromatic
#011E0A #011E0A #012D0F #026923 #04A537

Accessibility & contrast

On white

15.18
#012D0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012D0F
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012D0F#FFFFFF#000000##FFFFFF
##012D0F1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D280C
Deuteranopia (green-blind)
#282411
Tritanopia (blue-blind)
#002C26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #012d0f;
/* rgb */ color: rgb(1, 45, 15);
/* oklch */ color: oklch(26.0% 0.071 149.3);
Tailwind
colors: {
  custom: {
    50: '#4a664e',
    500: '#012d0f',
    950: '#000000',
  },
}
SCSS
$custom: #012d0f;
$custom-light: #4a664e;
$custom-dark: #000000;
JSON
{
  "hex": "#012d0f",
  "rgb": {
    "r": 1,
    "g": 45,
    "b": 15
  },
  "hsl": {
    "h": 139.091,
    "s": 95.652,
    "l": 9.02
  },
  "oklch": {
    "l": 0.26003,
    "c": 0.07143,
    "h": 149.3
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#012D0F
secondary
#731756
accent
#29BBFF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010601
muted
#777A77

Preview Lab

Preview with #012D0F

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

Preview Lab → · Contrast checker → · Palette generator →

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