#021505#021505

#021505 is a very dark, muted green. Relative luminance 0.006; OKLCH L 17.3% C 0.044 H 147.9°. Best body text is #FFFFFF at 18.88:1 contrast (WCAG AA passes).

Color values

HEX#021505
RGBrgb(2, 21, 5)
HSLhsl(129, 83%, 5%)
HSVhsv(129, 90%, 8%)
CMYKcmyk(90.5%, 0%, 76.2%, 91.8%)
CIE-LABlab(5.06, -8.68, 5.37)
CIE-LCHlch(5.06, 10.20, 148.27°)
OKLaboklab(17.3% -0.0372 0.0233)
OKLCHoklch(17.3% 0.044 147.9)
XYZxyz(0.3206, 0.5602, 0.2348)
Luminance0.0056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021505 #150212
analogous
#091502 #021505 #02150F
triadic
#021505 #050215 #150502
tetradic
#021505 #020915 #150212 #150F02
square
#021505 #020915 #150212 #150F02
split-complementary
#021505 #0F0215 #150209
monochromatic
#031C07 #031C07 #031C07 #074D12 #0D8520

Accessibility & contrast

On white

18.88
#021505 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021505
18.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021505#FFFFFF#000000##FFFFFF
##0215051.0018.881.1118.88
#FFFFFF18.881.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151204
Deuteranopia (green-blind)
#131006
Tritanopia (blue-blind)
#001411
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #021505;
/* rgb */ color: rgb(2, 21, 5);
/* oklch */ color: oklch(17.3% 0.044 147.9);
Tailwind
colors: {
  custom: {
    50: '#475249',
    500: '#021505',
    950: '#000000',
  },
}
SCSS
$custom: #021505;
$custom-light: #475249;
$custom-dark: #000000;
JSON
{
  "hex": "#021505",
  "rgb": {
    "r": 2,
    "g": 21,
    "b": 5
  },
  "hsl": {
    "h": 129.474,
    "s": 82.609,
    "l": 4.51
  },
  "oklch": {
    "l": 0.17296,
    "c": 0.04393,
    "h": 147.9
  },
  "luminance": 0.0056
}

Semantic roles & 50–950 ramp

primary
#021505
secondary
#5B1850
accent
#2FD9F9
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #021505

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

Preview Lab → · Contrast checker → · Palette generator →

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