#021F00#021F00

#021F00 is a very dark, moderate green. Relative luminance 0.010; OKLCH L 20.9% C 0.069 H 141.2°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#021F00
RGBrgb(2, 31, 0)
HSLhsl(116, 100%, 6%)
HSVhsv(116, 100%, 12%)
CMYKcmyk(93.5%, 0%, 100%, 87.8%)
CIE-LABlab(8.93, -17.40, 13.05)
CIE-LCHlch(8.93, 21.75, 143.14°)
OKLaboklab(20.86% -0.0537 0.0432)
OKLCHoklch(20.86% 0.069 141.2)
XYZxyz(0.5150, 0.9928, 0.1645)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F00 #1D001F
analogous
#111F00 #021F00 #001F0D
triadic
#021F00 #00021F #1F0002
tetradic
#021F00 #00111F #1D001F #1F0D00
square
#021F00 #00111F #1D001F #1F0D00
split-complementary
#021F00 #0D001F #1F0011
monochromatic
#021F00 #021F00 #021F00 #065C00 #0A9900

Accessibility & contrast

On white

17.52
#021F00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021F00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F00
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F00#FFFFFF#000000##FFFFFF
##021F001.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B00
Deuteranopia (green-blind)
#1D1802
Tritanopia (blue-blind)
#001E19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #021f00;
/* rgb */ color: rgb(2, 31, 0);
/* oklch */ color: oklch(20.9% 0.069 141.2);
Tailwind
colors: {
  custom: {
    50: '#465a46',
    500: '#021f00',
    950: '#000000',
  },
}
SCSS
$custom: #021f00;
$custom-light: #465a46;
$custom-dark: #000000;
JSON
{
  "hex": "#021f00",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 0
  },
  "hsl": {
    "h": 116.129,
    "s": 100,
    "l": 6.078
  },
  "oklch": {
    "l": 0.20855,
    "c": 0.06888,
    "h": 141.2
  },
  "luminance": 0.00993
}

Semantic roles & 50–950 ramp

primary
#021F00
secondary
#631268
accent
#29FFF1
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000400
muted
#777977

Preview Lab

Preview with #021F00

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

Preview Lab → · Contrast checker → · Palette generator →

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