#012A07#012A07

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

Color values

HEX#012A07
RGBrgb(1, 42, 7)
HSLhsl(129, 95%, 8%)
HSVhsv(129, 98%, 16%)
CMYKcmyk(97.6%, 0%, 83.3%, 83.5%)
CIE-LABlab(13.70, -23.05, 16.77)
CIE-LCHlch(13.70, 28.51, 143.97°)
OKLaboklab(24.84% -0.062 0.0425)
OKLCHoklch(24.84% 0.075 145.6)
XYZxyz(0.8788, 1.6776, 0.4785)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A07 #2A0124
analogous
#0F2A01 #012A07 #012A1B
triadic
#012A07 #07012A #2A0701
tetradic
#012A07 #010F2A #2A0124 #2A1B01
square
#012A07 #010F2A #2A0124 #2A1B01
split-complementary
#012A07 #1B012A #2A010F
monochromatic
#011E05 #011E05 #012A07 #026611 #04A21B

Accessibility & contrast

On white

15.72
#012A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012A07
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A07#FFFFFF#000000##FFFFFF
##012A071.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #012a07;
/* rgb */ color: rgb(1, 42, 7);
/* oklch */ color: oklch(24.8% 0.075 145.6);
Tailwind
colors: {
  custom: {
    50: '#48644a',
    500: '#012a07',
    950: '#000000',
  },
}
SCSS
$custom: #012a07;
$custom-light: #48644a;
$custom-dark: #000000;
JSON
{
  "hex": "#012a07",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 7
  },
  "hsl": {
    "h": 128.78,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24843,
    "c": 0.07521,
    "h": 145.6
  },
  "luminance": 0.01678
}

Semantic roles & 50–950 ramp

primary
#012A07
secondary
#701663
accent
#29E0FF
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#010501
muted
#777A77

Preview Lab

Preview with #012A07

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

Preview Lab → · Contrast checker → · Palette generator →

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