#021A00#021A00

#021A00 is a very dark, moderate green. Relative luminance 0.008; OKLCH L 19.0% C 0.062 H 140.7°. Best body text is #FFFFFF at 18.25:1 contrast (WCAG AA passes).

Color values

HEX#021A00
RGBrgb(2, 26, 0)
HSLhsl(115, 100%, 5%)
HSVhsv(115, 100%, 10%)
CMYKcmyk(92.3%, 0%, 100%, 89.8%)
CIE-LABlab(6.79, -13.11, 9.93)
CIE-LCHlch(6.79, 16.44, 142.86°)
OKLaboklab(19.02% -0.0482 0.0394)
OKLCHoklch(19.02% 0.062 140.7)
XYZxyz(0.3944, 0.7516, 0.1243)
Luminance0.0075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A00 #18001A
analogous
#0F1A00 #021A00 #001A0B
triadic
#021A00 #00021A #1A0002
tetradic
#021A00 #000F1A #18001A #1A0B00
square
#021A00 #000F1A #18001A #1A0B00
split-complementary
#021A00 #0B001A #1A000F
monochromatic
#021F00 #021F00 #021F00 #075700 #0B9400

Accessibility & contrast

On white

18.25
#021A00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#021A00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021A00
18.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A00#FFFFFF#000000##FFFFFF
##021A001.0018.251.1518.25
#FFFFFF18.251.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1600
Deuteranopia (green-blind)
#181401
Tritanopia (blue-blind)
#001914
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #021a00;
/* rgb */ color: rgb(2, 26, 0);
/* oklch */ color: oklch(19.0% 0.062 140.7);
Tailwind
colors: {
  custom: {
    50: '#475646',
    500: '#021a00',
    950: '#000000',
  },
}
SCSS
$custom: #021a00;
$custom-light: #475646;
$custom-dark: #000000;
JSON
{
  "hex": "#021a00",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 0
  },
  "hsl": {
    "h": 115.385,
    "s": 100,
    "l": 5.098
  },
  "oklch": {
    "l": 0.19017,
    "c": 0.06221,
    "h": 140.7
  },
  "luminance": 0.00752
}

Semantic roles & 50–950 ramp

primary
#021A00
secondary
#5E1264
accent
#29FFEF
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000300
muted
#777877

Preview Lab

Preview with #021A00

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

Preview Lab → · Contrast checker → · Palette generator →

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