#010502#010502

#010502 is a very dark, near-neutral green. Relative luminance 0.001; OKLCH L 10.4% C 0.019 H 153.1°. Best body text is #FFFFFF at 20.51:1 contrast (WCAG AA passes).

Color values

HEX#010502
RGBrgb(1, 5, 2)
HSLhsl(135, 67%, 1%)
HSVhsv(135, 80%, 2%)
CMYKcmyk(80%, 0%, 60%, 98%)
CIE-LABlab(1.08, -1.47, 0.77)
CIE-LCHlch(1.08, 1.65, 152.39°)
OKLaboklab(10.39% -0.0171 0.0087)
OKLCHoklch(10.39% 0.019 153.1)
XYZxyz(0.0777, 0.1194, 0.0764)
Luminance0.0012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#010502 #050104
analogous
#020501 #010502 #010504
triadic
#010502 #020105 #050201
tetradic
#010502 #010205 #050104 #050401
square
#010502 #010205 #050104 #050401
split-complementary
#010502 #040105 #050102
monochromatic
#051A0A #051A0A #051A0A #0B3816 #156B2B

Accessibility & contrast

On white

20.51
#010502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.02
#010502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #010502
20.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##010502#FFFFFF#000000##FFFFFF
##0105021.0020.511.0220.51
#FFFFFF20.511.0021.001.00
#0000001.0221.001.0021.00
##FFFFFF20.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050402
Deuteranopia (green-blind)
#040402
Tritanopia (blue-blind)
#010504
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #010502;
/* rgb */ color: rgb(1, 5, 2);
/* oklch */ color: oklch(10.4% 0.019 153.1);
Tailwind
colors: {
  custom: {
    50: '#474948',
    500: '#010502',
    950: '#000000',
  },
}
SCSS
$custom: #010502;
$custom-light: #474948;
$custom-dark: #000000;
JSON
{
  "hex": "#010502",
  "rgb": {
    "r": 1,
    "g": 5,
    "b": 2
  },
  "hsl": {
    "h": 135,
    "s": 66.667,
    "l": 1.176
  },
  "oklch": {
    "l": 0.1039,
    "c": 0.01915,
    "h": 153.1
  },
  "luminance": 0.00119
}

Semantic roles & 50–950 ramp

primary
#010502
secondary
#481A3C
accent
#3EBFEA
background
#F3F4F4
surface
#E5E6E6
border
#C1C2C2
text
#000000
muted
#777777

Preview Lab

Preview with #010502

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

Preview Lab → · Contrast checker → · Palette generator →

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