#012A0C#012A0C

#012A0C is a very dark, moderate green. Relative luminance 0.017; OKLCH L 24.9% C 0.070 H 148.3°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#012A0C
RGBrgb(1, 42, 12)
HSLhsl(136, 95%, 8%)
HSVhsv(136, 98%, 16%)
CMYKcmyk(97.6%, 0%, 71.4%, 83.5%)
CIE-LABlab(13.76, -22.24, 14.77)
CIE-LCHlch(13.76, 26.70, 146.40°)
OKLaboklab(24.92% -0.0596 0.0368)
OKLCHoklch(24.92% 0.07 148.3)
XYZxyz(0.9068, 1.6888, 0.6259)
Luminance0.0169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A0C #2A011F
analogous
#0A2A01 #012A0C #012A20
triadic
#012A0C #0C012A #2A0C01
tetradic
#012A0C #010A2A #2A011F #2A2001
square
#012A0C #010A2A #2A011F #2A2001
split-complementary
#012A0C #20012A #2A010A
monochromatic
#011E09 #011E09 #012A0C #02661D #04A22E

Accessibility & contrast

On white

15.70
#012A0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012A0C
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A0C#FFFFFF#000000##FFFFFF
##012A0C1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2509
Deuteranopia (green-blind)
#26220E
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #012a0c;
/* rgb */ color: rgb(1, 42, 12);
/* oklch */ color: oklch(24.9% 0.070 148.3);
Tailwind
colors: {
  custom: {
    50: '#48644c',
    500: '#012a0c',
    950: '#000000',
  },
}
SCSS
$custom: #012a0c;
$custom-light: #48644c;
$custom-dark: #000000;
JSON
{
  "hex": "#012a0c",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 12
  },
  "hsl": {
    "h": 136.098,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24919,
    "c": 0.07007,
    "h": 148.3
  },
  "luminance": 0.01689
}

Semantic roles & 50–950 ramp

primary
#012A0C
secondary
#701658
accent
#29C6FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #012A0C

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

Preview Lab → · Contrast checker → · Palette generator →

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