#021B01#021B01

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

Color values

HEX#021B01
RGBrgb(2, 27, 1)
HSLhsl(118, 93%, 5%)
HSVhsv(118, 96%, 11%)
CMYKcmyk(92.6%, 0%, 96.3%, 89.4%)
CIE-LABlab(7.22, -13.80, 10.14)
CIE-LCHlch(7.22, 17.13, 143.69°)
OKLaboklab(19.41% -0.0483 0.038)
OKLCHoklch(19.41% 0.062 141.8)
XYZxyz(0.4224, 0.7989, 0.1607)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B01 #1A011B
analogous
#0F1B01 #021B01 #011B0D
triadic
#021B01 #01021B #1B0102
tetradic
#021B01 #010F1B #1A011B #1B0D01
square
#021B01 #010F1B #1A011B #1B0D01
split-complementary
#021B01 #0D011B #1B010F
monochromatic
#021E01 #021E01 #021E01 #065603 #0B9105

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##021B01#FFFFFF#000000##FFFFFF
##021B011.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: #021b01;
/* rgb */ color: rgb(2, 27, 1);
/* oklch */ color: oklch(19.4% 0.061 141.8);
Tailwind
colors: {
  custom: {
    50: '#475747',
    500: '#021b01',
    950: '#000000',
  },
}
SCSS
$custom: #021b01;
$custom-light: #475747;
$custom-dark: #000000;
JSON
{
  "hex": "#021b01",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 1
  },
  "hsl": {
    "h": 117.692,
    "s": 92.857,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19412,
    "c": 0.0615,
    "h": 141.8
  },
  "luminance": 0.00799
}

Semantic roles & 50–950 ramp

primary
#021B01
secondary
#601563
accent
#29FFF7
background
#F4F5F3
surface
#E6E9E5
border
#C2C5C1
text
#000300
muted
#777877

Preview Lab

Preview with #021B01

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

Preview Lab → · Contrast checker → · Palette generator →

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