#012002#012002

#012002 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 21.2% C 0.068 H 143.4°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#012002
RGBrgb(1, 32, 2)
HSLhsl(122, 94%, 6%)
HSVhsv(122, 97%, 13%)
CMYKcmyk(96.9%, 0%, 93.8%, 87.5%)
CIE-LABlab(9.35, -18.19, 12.83)
CIE-LCHlch(9.35, 22.25, 144.80°)
OKLaboklab(21.2% -0.0543 0.0403)
OKLCHoklch(21.2% 0.068 143.4)
XYZxyz(0.5400, 1.0438, 0.2304)
Luminance0.0104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012002 #20011F
analogous
#102001 #012002 #012012
triadic
#012002 #020120 #200201
tetradic
#012002 #011020 #20011F #201201
square
#012002 #011020 #20011F #201201
split-complementary
#012002 #120120 #200110
monochromatic
#011E02 #011E02 #012002 #035B06 #059709

Accessibility & contrast

On white

17.37
#012002 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#012002 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012002
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012002#FFFFFF#000000##FFFFFF
##0120021.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C00
Deuteranopia (green-blind)
#1D1904
Tritanopia (blue-blind)
#001F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #012002;
/* rgb */ color: rgb(1, 32, 2);
/* oklch */ color: oklch(21.2% 0.068 143.4);
Tailwind
colors: {
  custom: {
    50: '#465b47',
    500: '#012002',
    950: '#000000',
  },
}
SCSS
$custom: #012002;
$custom-light: #465b47;
$custom-dark: #000000;
JSON
{
  "hex": "#012002",
  "rgb": {
    "r": 1,
    "g": 32,
    "b": 2
  },
  "hsl": {
    "h": 121.935,
    "s": 93.939,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21201,
    "c": 0.0676,
    "h": 143.4
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#012002
secondary
#671565
accent
#29F8FF
background
#F3F5F4
surface
#E5E9E6
border
#C1C5C2
text
#000400
muted
#767977

Preview Lab

Preview with #012002

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

Preview Lab → · Contrast checker → · Palette generator →

#012002 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva