#012802#012802

#012802 is a very dark, moderate green. Relative luminance 0.015; OKLCH L 24.1% C 0.078 H 143.1°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#012802
RGBrgb(1, 40, 2)
HSLhsl(122, 95%, 8%)
HSVhsv(122, 98%, 16%)
CMYKcmyk(97.5%, 0%, 95%, 84.3%)
CIE-LABlab(12.79, -23.07, 17.60)
CIE-LCHlch(12.79, 29.02, 142.67°)
OKLaboklab(24.07% -0.0627 0.047)
OKLCHoklch(24.07% 0.078 143.1)
XYZxyz(0.7822, 1.5283, 0.3112)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012802 #280127
analogous
#132801 #012802 #012815
triadic
#012802 #020128 #280201
tetradic
#012802 #011328 #280127 #281501
square
#012802 #011328 #280127 #281501
split-complementary
#012802 #150128 #280113
monochromatic
#011E01 #011E01 #012802 #026405 #049F08

Accessibility & contrast

On white

16.08
#012802 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#012802 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012802
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012802#FFFFFF#000000##FFFFFF
##0128021.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292300
Deuteranopia (green-blind)
#252005
Tritanopia (blue-blind)
#002621
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #012802;
/* rgb */ color: rgb(1, 40, 2);
/* oklch */ color: oklch(24.1% 0.078 143.1);
Tailwind
colors: {
  custom: {
    50: '#476247',
    500: '#012802',
    950: '#000000',
  },
}
SCSS
$custom: #012802;
$custom-light: #476247;
$custom-dark: #000000;
JSON
{
  "hex": "#012802",
  "rgb": {
    "r": 1,
    "g": 40,
    "b": 2
  },
  "hsl": {
    "h": 121.538,
    "s": 95.122,
    "l": 8.039
  },
  "oklch": {
    "l": 0.24065,
    "c": 0.07833,
    "h": 143.1
  },
  "luminance": 0.01528
}

Semantic roles & 50–950 ramp

primary
#012802
secondary
#6F166C
accent
#29FAFF
background
#F4F5F4
surface
#E6EAE6
border
#C2C6C2
text
#010500
muted
#777977

Preview Lab

Preview with #012802

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

Preview Lab → · Contrast checker → · Palette generator →

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