#020503#020503

#020503 is a very dark, near-neutral green. Relative luminance 0.001; OKLCH L 10.7% C 0.013 H 157.0°. Best body text is #FFFFFF at 20.48:1 contrast (WCAG AA passes).

Color values

HEX#020503
RGBrgb(2, 5, 3)
HSLhsl(140, 43%, 1%)
HSVhsv(140, 60%, 2%)
CMYKcmyk(60%, 0%, 40%, 98%)
CIE-LABlab(1.16, -1.06, 0.48)
CIE-LCHlch(1.16, 1.17, 155.70°)
OKLaboklab(10.71% -0.0115 0.0049)
OKLCHoklch(10.71% 0.013 157)
XYZxyz(0.0957, 0.1280, 0.1058)
Luminance0.0013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#020503 #050204
analogous
#030502 #020503 #020505
triadic
#020503 #030205 #050302
tetradic
#020503 #020305 #050204 #050502
square
#020503 #020305 #050204 #050502
split-complementary
#020503 #050205 #050203
monochromatic
#09160D #09160D #09160D #13311D #255C37

Accessibility & contrast

On white

20.48
#020503 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.03
#020503 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #020503
20.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##020503#FFFFFF#000000##FFFFFF
##0205031.0020.481.0320.48
#FFFFFF20.481.0021.001.00
#0000001.0321.001.0021.00
##FFFFFF20.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#050403
Deuteranopia (green-blind)
#040403
Tritanopia (blue-blind)
#020504
Achromatopsia (no color)
#040404

Design tokens & code

CSS
--color: #020503;
/* rgb */ color: rgb(2, 5, 3);
/* oklch */ color: oklch(10.7% 0.013 157.0);
Tailwind
colors: {
  custom: {
    50: '#484948',
    500: '#020503',
    950: '#000000',
  },
}
SCSS
$custom: #020503;
$custom-light: #484948;
$custom-dark: #000000;
JSON
{
  "hex": "#020503",
  "rgb": {
    "r": 2,
    "g": 5,
    "b": 3
  },
  "hsl": {
    "h": 140,
    "s": 42.857,
    "l": 1.373
  },
  "oklch": {
    "l": 0.10709,
    "c": 0.01254,
    "h": 157
  },
  "luminance": 0.00128
}

Semantic roles & 50–950 ramp

primary
#020503
secondary
#402336
accent
#55A9D3
background
#F4F4F4
surface
#E6E6E6
border
#C2C2C2
text
#000000
muted
#777777

Preview Lab

Preview with #020503

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

Preview Lab → · Contrast checker → · Palette generator →

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