#012A02#012A02

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

Color values

HEX#012A02
RGBrgb(1, 42, 2)
HSLhsl(121, 95%, 8%)
HSVhsv(121, 98%, 16%)
CMYKcmyk(97.6%, 0%, 95.2%, 83.5%)
CIE-LABlab(13.63, -23.88, 18.72)
CIE-LCHlch(13.63, 30.34, 141.90°)
OKLaboklab(24.77% -0.0647 0.0486)
OKLCHoklch(24.77% 0.081 143.1)
XYZxyz(0.8514, 1.6667, 0.3342)
Luminance0.0167 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012A02 #2A0129
analogous
#142A01 #012A02 #012A16
triadic
#012A02 #02012A #2A0201
tetradic
#012A02 #01142A #2A0129 #2A1601
square
#012A02 #01142A #2A0129 #2A1601
split-complementary
#012A02 #16012A #2A0114
monochromatic
#011E01 #011E01 #012A02 #026605 #04A208

Accessibility & contrast

On white

15.75
#012A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #012A02
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012A02#FFFFFF#000000##FFFFFF
##012A021.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2500
Deuteranopia (green-blind)
#272205
Tritanopia (blue-blind)
#002822
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #012a02;
/* rgb */ color: rgb(1, 42, 2);
/* oklch */ color: oklch(24.8% 0.081 143.1);
Tailwind
colors: {
  custom: {
    50: '#486447',
    500: '#012a02',
    950: '#000000',
  },
}
SCSS
$custom: #012a02;
$custom-light: #486447;
$custom-dark: #000000;
JSON
{
  "hex": "#012a02",
  "rgb": {
    "r": 1,
    "g": 42,
    "b": 2
  },
  "hsl": {
    "h": 121.463,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.24768,
    "c": 0.08093,
    "h": 143.1
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#012A02
secondary
#70166E
accent
#29FAFF
background
#F4F6F4
surface
#E7EBE6
border
#C3C6C2
text
#010500
muted
#777A77

Preview Lab

Preview with #012A02

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

Preview Lab → · Contrast checker → · Palette generator →

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