#021E0E#021E0E

#021E0E is a very dark, muted green. Relative luminance 0.010; OKLCH L 20.8% C 0.047 H 155.4°. Best body text is #FFFFFF at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#021E0E
RGBrgb(2, 30, 14)
HSLhsl(146, 88%, 6%)
HSVhsv(146, 93%, 12%)
CMYKcmyk(93.3%, 0%, 53.3%, 88.2%)
CIE-LABlab(8.77, -14.49, 6.91)
CIE-LCHlch(8.77, 16.06, 154.50°)
OKLaboklab(20.8% -0.0431 0.0197)
OKLCHoklch(20.8% 0.047 155.4)
XYZxyz(0.5685, 0.9731, 0.5732)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E0E #1E0212
analogous
#041E02 #021E0E #021E1C
triadic
#021E0E #0E021E #1E0E02
tetradic
#021E0E #02041E #1E0212 #1E1C02
square
#021E0E #02041E #1E0212 #1E1C02
split-complementary
#021E0E #1C021E #1E0204
monochromatic
#021D0D #021D0D #021E0E #065729 #0A9144

Accessibility & contrast

On white

17.58
#021E0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021E0E
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E0E#FFFFFF#000000##FFFFFF
##021E0E1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1B0D
Deuteranopia (green-blind)
#1A180F
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021e0e;
/* rgb */ color: rgb(2, 30, 14);
/* oklch */ color: oklch(20.8% 0.047 155.4);
Tailwind
colors: {
  custom: {
    50: '#47594d',
    500: '#021e0e',
    950: '#000000',
  },
}
SCSS
$custom: #021e0e;
$custom-light: #47594d;
$custom-dark: #000000;
JSON
{
  "hex": "#021e0e",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 14
  },
  "hsl": {
    "h": 145.714,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20804,
    "c": 0.0474,
    "h": 155.4
  },
  "luminance": 0.00973
}

Semantic roles & 50–950 ramp

primary
#021E0E
secondary
#641843
accent
#2AA3FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021E0E

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

Preview Lab → · Contrast checker → · Palette generator →

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