#021E02#021E02

#021E02 is a very dark, moderate green. Relative luminance 0.009; OKLCH L 20.5% C 0.064 H 142.8°. Best body text is #FFFFFF at 17.66:1 contrast (WCAG AA passes).

Color values

HEX#021E02
RGBrgb(2, 30, 2)
HSLhsl(120, 88%, 6%)
HSVhsv(120, 93%, 12%)
CMYKcmyk(93.3%, 0%, 93.3%, 88.2%)
CIE-LABlab(8.53, -16.28, 11.65)
CIE-LCHlch(8.53, 20.02, 144.41°)
OKLaboklab(20.53% -0.0509 0.0387)
OKLCHoklch(20.53% 0.064 142.8)
XYZxyz(0.5002, 0.9458, 0.2136)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E02 #1E021E
analogous
#101E02 #021E02 #021E10
triadic
#021E02 #02021E #1E0202
tetradic
#021E02 #02101E #1E021E #1E1002
square
#021E02 #02101E #1E021E #1E1002
split-complementary
#021E02 #10021E #1E0210
monochromatic
#021D02 #021D02 #021E02 #065706 #0A910A

Accessibility & contrast

On white

17.66
#021E02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#021E02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021E02
17.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E02#FFFFFF#000000##FFFFFF
##021E021.0017.661.1917.66
#FFFFFF17.661.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1A00
Deuteranopia (green-blind)
#1B1804
Tritanopia (blue-blind)
#001D18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021e02;
/* rgb */ color: rgb(2, 30, 2);
/* oklch */ color: oklch(20.5% 0.064 142.8);
Tailwind
colors: {
  custom: {
    50: '#465947',
    500: '#021e02',
    950: '#000000',
  },
}
SCSS
$custom: #021e02;
$custom-light: #465947;
$custom-dark: #000000;
JSON
{
  "hex": "#021e02",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20534,
    "c": 0.06395,
    "h": 142.8
  },
  "luminance": 0.00946
}

Semantic roles & 50–950 ramp

primary
#021E02
secondary
#641864
accent
#2AFEFE
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021E02

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

Preview Lab → · Contrast checker → · Palette generator →

#021E02 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva