#012A06#012A06

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

Color values

HEX#012A06
RGBrgb(1, 42, 6)
HSLhsl(127, 95%, 8%)
HSVhsv(127, 98%, 16%)
CMYKcmyk(97.6%, 0%, 85.7%, 83.5%)
CIE-LABlab(13.68, -23.22, 17.16)
CIE-LCHlch(13.68, 28.87, 143.53°)
OKLaboklab(24.83% -0.0625 0.0437)
OKLCHoklch(24.83% 0.076 145.1)
XYZxyz(0.8733, 1.6754, 0.4496)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A06 #2A0125
analogous
#102A01 #012A06 #012A1A
triadic
#012A06 #06012A #2A0601
tetradic
#012A06 #01102A #2A0125 #2A1A01
square
#012A06 #01102A #2A0125 #2A1A01
split-complementary
#012A06 #1A012A #2A0110
monochromatic
#011E04 #011E04 #012A06 #02660F #04A217

Accessibility & contrast

On white

15.73
#012A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012A06
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A06#FFFFFF#000000##FFFFFF
##012A061.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2503
Deuteranopia (green-blind)
#262209
Tritanopia (blue-blind)
#002923
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #012a06;
/* rgb */ color: rgb(1, 42, 6);
/* oklch */ color: oklch(24.8% 0.076 145.1);
Tailwind
colors: {
  custom: {
    50: '#486449',
    500: '#012a06',
    950: '#000000',
  },
}
SCSS
$custom: #012a06;
$custom-light: #486449;
$custom-dark: #000000;
JSON
{
  "hex": "#012a06",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 6
  },
  "hsl": {
    "h": 127.317,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24828,
    "c": 0.0763,
    "h": 145.1
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#012A06
secondary
#701665
accent
#29E5FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #012A06

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

Preview Lab → · Contrast checker → · Palette generator →

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