#021B02#021B02

#021B02 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.4% C 0.060 H 142.8°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#021B02
RGBrgb(2, 27, 2)
HSLhsl(120, 86%, 6%)
HSVhsv(120, 93%, 11%)
CMYKcmyk(92.6%, 0%, 92.6%, 89.4%)
CIE-LABlab(7.24, -13.66, 9.77)
CIE-LCHlch(7.24, 16.79, 144.44°)
OKLaboklab(19.44% -0.0475 0.036)
OKLCHoklch(19.44% 0.06 142.8)
XYZxyz(0.4279, 0.8011, 0.1895)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B02 #1B021B
analogous
#0E1B02 #021B02 #021B0E
triadic
#021B02 #02021B #1B0202
tetradic
#021B02 #020E1B #1B021B #1B0E02
square
#021B02 #020E1B #1B021B #1B0E02
split-complementary
#021B02 #0E021B #1B020E
monochromatic
#021C02 #021C02 #021C02 #065406 #0A8D0A

Accessibility & contrast

On white

18.10
#021B02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B02
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B02#FFFFFF#000000##FFFFFF
##021B021.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021b02;
/* rgb */ color: rgb(2, 27, 2);
/* oklch */ color: oklch(19.4% 0.060 142.8);
Tailwind
colors: {
  custom: {
    50: '#475747',
    500: '#021b02',
    950: '#000000',
  },
}
SCSS
$custom: #021b02;
$custom-light: #475747;
$custom-dark: #000000;
JSON
{
  "hex": "#021b02",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 2
  },
  "hsl": {
    "h": 120,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19436,
    "c": 0.05954,
    "h": 142.8
  },
  "luminance": 0.00801
}

Semantic roles & 50–950 ramp

primary
#021B02
secondary
#611861
accent
#2BFCFC
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021B02

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

Preview Lab → · Contrast checker → · Palette generator →

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