#012602#012602

#012602 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.4% C 0.076 H 143.2°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#012602
RGBrgb(1, 38, 2)
HSLhsl(122, 95%, 8%)
HSVhsv(122, 97%, 15%)
CMYKcmyk(97.4%, 0%, 94.7%, 85.1%)
CIE-LABlab(11.94, -22.10, 16.44)
CIE-LCHlch(11.94, 27.55, 143.35°)
OKLaboklab(23.36% -0.0606 0.0454)
OKLCHoklch(23.36% 0.076 143.2)
XYZxyz(0.7165, 1.3970, 0.2893)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#012602 #260125
analogous
#122601 #012602 #012615
triadic
#012602 #020126 #260201
tetradic
#012602 #011226 #260125 #261501
square
#012602 #011226 #260125 #261501
split-complementary
#012602 #150126 #260112
monochromatic
#011E02 #011E02 #012602 #036205 #049D08

Accessibility & contrast

On white

16.41
#012602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#012602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #012602
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##012602#FFFFFF#000000##FFFFFF
##0126021.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272100
Deuteranopia (green-blind)
#231E05
Tritanopia (blue-blind)
#00251F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #012602;
/* rgb */ color: rgb(1, 38, 2);
/* oklch */ color: oklch(23.4% 0.076 143.2);
Tailwind
colors: {
  custom: {
    50: '#476147',
    500: '#012602',
    950: '#000000',
  },
}
SCSS
$custom: #012602;
$custom-light: #476147;
$custom-dark: #000000;
JSON
{
  "hex": "#012602",
  "rgb": {
    "r": 1,
    "g": 38,
    "b": 2
  },
  "hsl": {
    "h": 121.622,
    "s": 94.872,
    "l": 7.647
  },
  "oklch": {
    "l": 0.23356,
    "c": 0.07572,
    "h": 143.2
  },
  "luminance": 0.01397
}

Semantic roles & 50–950 ramp

primary
#012602
secondary
#6D166A
accent
#29F9FF
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000500
muted
#777977

Preview Lab

Preview with #012602

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

Preview Lab → · Contrast checker → · Palette generator →

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