#021900#021900

#021900 is a very dark, moderate green. Relative luminance 0.007; OKLCH L 18.6% C 0.061 H 140.6°. Best body text is #FFFFFF at 18.40:1 contrast (WCAG AA passes).

Color values

HEX#021900
RGBrgb(2, 25, 0)
HSLhsl(115, 100%, 5%)
HSVhsv(115, 100%, 10%)
CMYKcmyk(92%, 0%, 100%, 90.2%)
CIE-LABlab(6.40, -12.31, 9.35)
CIE-LCHlch(6.40, 15.46, 142.76°)
OKLaboklab(18.65% -0.047 0.0386)
OKLCHoklch(18.65% 0.061 140.6)
XYZxyz(0.3726, 0.7081, 0.1170)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021900 #170019
analogous
#0F1900 #021900 #00190B
triadic
#021900 #000219 #190002
tetradic
#021900 #000F19 #170019 #190B00
square
#021900 #000F19 #170019 #190B00
split-complementary
#021900 #0B0019 #19000F
monochromatic
#021F00 #021F00 #021F00 #075600 #0C9300

Accessibility & contrast

On white

18.40
#021900 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#021900 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021900
18.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021900#FFFFFF#000000##FFFFFF
##0219001.0018.401.1418.40
#FFFFFF18.401.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A1500
Deuteranopia (green-blind)
#171301
Tritanopia (blue-blind)
#001813
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #021900;
/* rgb */ color: rgb(2, 25, 0);
/* oklch */ color: oklch(18.6% 0.061 140.6);
Tailwind
colors: {
  custom: {
    50: '#475546',
    500: '#021900',
    950: '#000000',
  },
}
SCSS
$custom: #021900;
$custom-light: #475546;
$custom-dark: #000000;
JSON
{
  "hex": "#021900",
  "rgb": {
    "r": 2,
    "g": 25,
    "b": 0
  },
  "hsl": {
    "h": 115.2,
    "s": 100,
    "l": 4.902
  },
  "oklch": {
    "l": 0.18645,
    "c": 0.06084,
    "h": 140.6
  },
  "luminance": 0.00708
}

Semantic roles & 50–950 ramp

primary
#021900
secondary
#5D1263
accent
#29FFEE
background
#F4F4F3
surface
#E6E7E5
border
#C2C3C1
text
#000300
muted
#777877

Preview Lab

Preview with #021900

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

Preview Lab → · Contrast checker → · Palette generator →

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