#021B03#021B03

#021B03 is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.5% C 0.058 H 143.9°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#021B03
RGBrgb(2, 27, 3)
HSLhsl(122, 86%, 6%)
HSVhsv(122, 93%, 11%)
CMYKcmyk(92.6%, 0%, 88.9%, 89.4%)
CIE-LABlab(7.26, -13.52, 9.39)
CIE-LCHlch(7.26, 16.46, 145.23°)
OKLaboklab(19.46% -0.0466 0.034)
OKLCHoklch(19.46% 0.058 143.9)
XYZxyz(0.4334, 0.8033, 0.2183)
Luminance0.0080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B03 #1B021A
analogous
#0D1B02 #021B03 #021B0F
triadic
#021B03 #03021B #1B0302
tetradic
#021B03 #020D1B #1B021A #1B0F02
square
#021B03 #020D1B #1B021A #1B0F02
split-complementary
#021B03 #0F021B #1B020D
monochromatic
#021C03 #021C03 #021C03 #065409 #0A8D10

Accessibility & contrast

On white

18.09
#021B03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B03
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B03#FFFFFF#000000##FFFFFF
##021B031.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021b03;
/* rgb */ color: rgb(2, 27, 3);
/* oklch */ color: oklch(19.5% 0.058 143.9);
Tailwind
colors: {
  custom: {
    50: '#475748',
    500: '#021b03',
    950: '#000000',
  },
}
SCSS
$custom: #021b03;
$custom-light: #475748;
$custom-dark: #000000;
JSON
{
  "hex": "#021b03",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 3
  },
  "hsl": {
    "h": 122.4,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19461,
    "c": 0.0577,
    "h": 143.9
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#021B03
secondary
#61185E
accent
#2BF4FC
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021B03

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

Preview Lab → · Contrast checker → · Palette generator →

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