#012A04#012A04

#012A04 is a very dark, moderate green. Relative luminance 0.017; OKLCH L 24.8% C 0.079 H 144.1°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#012A04
RGBrgb(1, 42, 4)
HSLhsl(124, 95%, 8%)
HSVhsv(124, 98%, 16%)
CMYKcmyk(97.6%, 0%, 90.5%, 83.5%)
CIE-LABlab(13.66, -23.55, 17.94)
CIE-LCHlch(13.66, 29.60, 142.70°)
OKLaboklab(24.8% -0.0636 0.0461)
OKLCHoklch(24.8% 0.079 144.1)
XYZxyz(0.8623, 1.6710, 0.3919)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A04 #2A0127
analogous
#122A01 #012A04 #012A18
triadic
#012A04 #04012A #2A0401
tetradic
#012A04 #01122A #2A0127 #2A1801
square
#012A04 #01122A #2A0127 #2A1801
split-complementary
#012A04 #18012A #2A0112
monochromatic
#011E03 #011E03 #012A04 #02660A #04A20F

Accessibility & contrast

On white

15.74
#012A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#012A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012A04
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A04#FFFFFF#000000##FFFFFF
##012A041.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2501
Deuteranopia (green-blind)
#262207
Tritanopia (blue-blind)
#002922
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #012a04;
/* rgb */ color: rgb(1, 42, 4);
/* oklch */ color: oklch(24.8% 0.079 144.1);
Tailwind
colors: {
  custom: {
    50: '#486448',
    500: '#012a04',
    950: '#000000',
  },
}
SCSS
$custom: #012a04;
$custom-light: #486448;
$custom-dark: #000000;
JSON
{
  "hex": "#012a04",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 4
  },
  "hsl": {
    "h": 124.39,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24798,
    "c": 0.07855,
    "h": 144.1
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#012A04
secondary
#70166A
accent
#29EFFF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #012A04

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

Preview Lab → · Contrast checker → · Palette generator →

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