#021502#021502

#021502 is a very dark, muted green. Relative luminance 0.006; OKLCH L 17.2% C 0.050 H 143.0°. Best body text is #FFFFFF at 18.91:1 contrast (WCAG AA passes).

Color values

HEX#021502
RGBrgb(2, 21, 2)
HSLhsl(120, 83%, 5%)
HSVhsv(120, 90%, 8%)
CMYKcmyk(90.5%, 0%, 90.5%, 91.8%)
CIE-LABlab(5.00, -9.10, 6.50)
CIE-LCHlch(5.00, 11.18, 144.45°)
OKLaboklab(17.2% -0.0401 0.0302)
OKLCHoklch(17.2% 0.05 143)
XYZxyz(0.3041, 0.5536, 0.1482)
Luminance0.0055 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021502 #150215
analogous
#0C1502 #021502 #02150C
triadic
#021502 #020215 #150202
tetradic
#021502 #020C15 #150215 #150C02
square
#021502 #020C15 #150215 #150C02
split-complementary
#021502 #0C0215 #15020C
monochromatic
#031C03 #031C03 #031C03 #074D07 #0D850D

Accessibility & contrast

On white

18.91
#021502 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#021502 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021502
18.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021502#FFFFFF#000000##FFFFFF
##0215021.0018.911.1118.91
#FFFFFF18.911.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161201
Deuteranopia (green-blind)
#131003
Tritanopia (blue-blind)
#001410
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #021502;
/* rgb */ color: rgb(2, 21, 2);
/* oklch */ color: oklch(17.2% 0.050 143.0);
Tailwind
colors: {
  custom: {
    50: '#475247',
    500: '#021502',
    950: '#000000',
  },
}
SCSS
$custom: #021502;
$custom-light: #475247;
$custom-dark: #000000;
JSON
{
  "hex": "#021502",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 82.609,
    "l": 4.51
  },
  "oklch": {
    "l": 0.17203,
    "c": 0.05021,
    "h": 143
  },
  "luminance": 0.00554
}

Semantic roles & 50–950 ramp

primary
#021502
secondary
#5B185B
accent
#2FF9F9
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #021502

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

Preview Lab → · Contrast checker → · Palette generator →

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