#021508#021508

#021508 is a very dark, muted green. Relative luminance 0.006; OKLCH L 17.4% C 0.039 H 153.5°. Best body text is #FFFFFF at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#021508
RGBrgb(2, 21, 8)
HSLhsl(139, 83%, 5%)
HSVhsv(139, 90%, 8%)
CMYKcmyk(90.5%, 0%, 61.9%, 91.8%)
CIE-LABlab(5.12, -8.26, 4.23)
CIE-LCHlch(5.12, 9.28, 152.88°)
OKLaboklab(17.39% -0.0348 0.0173)
OKLCHoklch(17.39% 0.039 153.5)
XYZxyz(0.3370, 0.5667, 0.3213)
Luminance0.0057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021508 #15020F
analogous
#061502 #021508 #021512
triadic
#021508 #080215 #150802
tetradic
#021508 #020615 #15020F #151202
square
#021508 #020615 #15020F #151202
split-complementary
#021508 #120215 #150206
monochromatic
#031C0B #031C0B #031C0B #074D1D #0D8533

Accessibility & contrast

On white

18.86
#021508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021508
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021508#FFFFFF#000000##FFFFFF
##0215081.0018.861.1118.86
#FFFFFF18.861.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151207
Deuteranopia (green-blind)
#121009
Tritanopia (blue-blind)
#001512
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #021508;
/* rgb */ color: rgb(2, 21, 8);
/* oklch */ color: oklch(17.4% 0.039 153.5);
Tailwind
colors: {
  custom: {
    50: '#47524a',
    500: '#021508',
    950: '#000000',
  },
}
SCSS
$custom: #021508;
$custom-light: #47524a;
$custom-dark: #000000;
JSON
{
  "hex": "#021508",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 8
  },
  "hsl": {
    "h": 138.947,
    "s": 82.609,
    "l": 4.51
  },
  "oklch": {
    "l": 0.17389,
    "c": 0.03889,
    "h": 153.5
  },
  "luminance": 0.00567
}

Semantic roles & 50–950 ramp

primary
#021508
secondary
#5B1846
accent
#2FB9F9
background
#F4F4F4
surface
#E6E7E7
border
#C2C3C3
text
#000201
muted
#777877

Preview Lab

Preview with #021508

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

Preview Lab → · Contrast checker → · Palette generator →

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