#021E04#021E04

#021E04 is a very dark, moderate green. Relative luminance 0.009; OKLCH L 20.6% C 0.061 H 144.6°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#021E04
RGBrgb(2, 30, 4)
HSLhsl(124, 88%, 6%)
HSVhsv(124, 93%, 12%)
CMYKcmyk(93.3%, 0%, 86.7%, 88.2%)
CIE-LABlab(8.57, -16.00, 10.89)
CIE-LCHlch(8.57, 19.35, 145.74°)
OKLaboklab(20.58% -0.0494 0.0352)
OKLCHoklch(20.58% 0.061 144.6)
XYZxyz(0.5112, 0.9502, 0.2713)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021E04 #1E021C
analogous
#0E1E02 #021E04 #021E12
triadic
#021E04 #04021E #1E0402
tetradic
#021E04 #020E1E #1E021C #1E1202
square
#021E04 #020E1E #1E021C #1E1202
split-complementary
#021E04 #12021E #1E020E
monochromatic
#021D04 #021D04 #021E04 #06570C #0A9113

Accessibility & contrast

On white

17.65
#021E04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021E04
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021E04#FFFFFF#000000##FFFFFF
##021E041.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021e04;
/* rgb */ color: rgb(2, 30, 4);
/* oklch */ color: oklch(20.6% 0.061 144.6);
Tailwind
colors: {
  custom: {
    50: '#465948',
    500: '#021e04',
    950: '#000000',
  },
}
SCSS
$custom: #021e04;
$custom-light: #465948;
$custom-dark: #000000;
JSON
{
  "hex": "#021e04",
  "rgb": {
    "r": 2,
    "g": 30,
    "b": 4
  },
  "hsl": {
    "h": 124.286,
    "s": 87.5,
    "l": 6.275
  },
  "oklch": {
    "l": 0.20578,
    "c": 0.06065,
    "h": 144.6
  },
  "luminance": 0.0095
}

Semantic roles & 50–950 ramp

primary
#021E04
secondary
#64185E
accent
#2AEFFE
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021E04

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

Preview Lab → · Contrast checker → · Palette generator →

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