#021E08#021E08

#021E08 is a very dark, muted green. Relative luminance 0.010; OKLCH L 20.7% C 0.055 H 148.4°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#021E08
RGBrgb(2, 30, 8)
HSLhsl(133, 88%, 6%)
HSVhsv(133, 93%, 12%)
CMYKcmyk(93.3%, 0%, 73.3%, 88.2%)
CIE-LABlab(8.64, -15.42, 9.37)
CIE-LCHlch(8.64, 18.05, 148.71°)
OKLaboklab(20.66% -0.0467 0.0288)
OKLCHoklch(20.66% 0.055 148.4)
XYZxyz(0.5331, 0.9589, 0.3867)
Luminance0.0096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E08 #1E0218
analogous
#0A1E02 #021E08 #021E16
triadic
#021E08 #08021E #1E0802
tetradic
#021E08 #020A1E #1E0218 #1E1602
square
#021E08 #020A1E #1E0218 #1E1602
split-complementary
#021E08 #16021E #1E020A
monochromatic
#021D08 #021D08 #021E08 #065717 #0A9127

Accessibility & contrast

On white

17.62
#021E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021E08
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E08#FFFFFF#000000##FFFFFF
##021E081.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1A06
Deuteranopia (green-blind)
#1B180A
Tritanopia (blue-blind)
#001D19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021e08;
/* rgb */ color: rgb(2, 30, 8);
/* oklch */ color: oklch(20.7% 0.055 148.4);
Tailwind
colors: {
  custom: {
    50: '#46594a',
    500: '#021e08',
    950: '#000000',
  },
}
SCSS
$custom: #021e08;
$custom-light: #46594a;
$custom-dark: #000000;
JSON
{
  "hex": "#021e08",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 8
  },
  "hsl": {
    "h": 132.857,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20664,
    "c": 0.05487,
    "h": 148.4
  },
  "luminance": 0.00959
}

Semantic roles & 50–950 ramp

primary
#021E08
secondary
#641854
accent
#2AD0FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021E08

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

Preview Lab → · Contrast checker → · Palette generator →

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