#021700#021700

#021700 is a very dark, muted green. Relative luminance 0.006; OKLCH L 17.9% C 0.058 H 140.4°. Best body text is #FFFFFF at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#021700
RGBrgb(2, 23, 0)
HSLhsl(115, 100%, 5%)
HSVhsv(115, 100%, 9%)
CMYKcmyk(91.3%, 0%, 100%, 91%)
CIE-LABlab(5.65, -10.79, 8.27)
CIE-LCHlch(5.65, 13.59, 142.53°)
OKLaboklab(17.9% -0.0447 0.037)
OKLCHoklch(17.9% 0.058 140.4)
XYZxyz(0.3314, 0.6257, 0.1033)
Luminance0.0063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021700 #150017
analogous
#0E1700 #021700 #00170A
triadic
#021700 #000217 #170002
tetradic
#021700 #000E17 #150017 #170A00
square
#021700 #000E17 #150017 #170A00
split-complementary
#021700 #0A0017 #17000E
monochromatic
#031F00 #031F00 #031F00 #075400 #0D9100

Accessibility & contrast

On white

18.66
#021700 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#021700 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021700
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021700#FFFFFF#000000##FFFFFF
##0217001.0018.661.1318.66
#FFFFFF18.661.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181400
Deuteranopia (green-blind)
#151201
Tritanopia (blue-blind)
#001612
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #021700;
/* rgb */ color: rgb(2, 23, 0);
/* oklch */ color: oklch(17.9% 0.058 140.4);
Tailwind
colors: {
  custom: {
    50: '#475347',
    500: '#021700',
    950: '#000000',
  },
}
SCSS
$custom: #021700;
$custom-light: #475347;
$custom-dark: #000000;
JSON
{
  "hex": "#021700",
  "rgb": {
    "r": 2,
    "g": 23,
    "b": 0
  },
  "hsl": {
    "h": 114.783,
    "s": 100,
    "l": 4.51
  },
  "oklch": {
    "l": 0.17896,
    "c": 0.05808,
    "h": 140.4
  },
  "luminance": 0.00626
}

Semantic roles & 50–950 ramp

primary
#021700
secondary
#5B1162
accent
#29FFEC
background
#F4F4F3
surface
#E6E7E5
border
#C2C3C1
text
#000200
muted
#777877

Preview Lab

Preview with #021700

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

Preview Lab → · Contrast checker → · Palette generator →

#021700 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva