#021B00#021B00

#021B00 is a very dark, moderate green. Relative luminance 0.008; OKLCH L 19.4% C 0.064 H 140.8°. Best body text is #FFFFFF at 18.11:1 contrast (WCAG AA passes).

Color values

HEX#021B00
RGBrgb(2, 27, 0)
HSLhsl(116, 100%, 5%)
HSVhsv(116, 100%, 11%)
CMYKcmyk(92.6%, 0%, 100%, 89.4%)
CIE-LABlab(7.20, -13.94, 10.52)
CIE-LCHlch(7.20, 17.47, 142.96°)
OKLaboklab(19.39% -0.0493 0.0401)
OKLCHoklch(19.39% 0.064 140.8)
XYZxyz(0.4169, 0.7967, 0.1318)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B00 #19001B
analogous
#0F1B00 #021B00 #001B0B
triadic
#021B00 #00021B #1B0002
tetradic
#021B00 #000F1B #19001B #1B0B00
square
#021B00 #000F1B #19001B #1B0B00
split-complementary
#021B00 #0B001B #1B000F
monochromatic
#021F00 #021F00 #021F00 #075800 #0B9500

Accessibility & contrast

On white

18.11
#021B00 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#021B00 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021B00
18.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B00#FFFFFF#000000##FFFFFF
##021B001.0018.111.1618.11
#FFFFFF18.111.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1700
Deuteranopia (green-blind)
#191502
Tritanopia (blue-blind)
#001A15
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021b00;
/* rgb */ color: rgb(2, 27, 0);
/* oklch */ color: oklch(19.4% 0.064 140.8);
Tailwind
colors: {
  custom: {
    50: '#475746',
    500: '#021b00',
    950: '#000000',
  },
}
SCSS
$custom: #021b00;
$custom-light: #475746;
$custom-dark: #000000;
JSON
{
  "hex": "#021b00",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 0
  },
  "hsl": {
    "h": 115.556,
    "s": 100,
    "l": 5.294
  },
  "oklch": {
    "l": 0.19388,
    "c": 0.06356,
    "h": 140.8
  },
  "luminance": 0.00797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #021B00

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

Preview Lab → · Contrast checker → · Palette generator →

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