#021B05#021B05

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

Color values

HEX#021B05
RGBrgb(2, 27, 5)
HSLhsl(127, 86%, 6%)
HSVhsv(127, 93%, 11%)
CMYKcmyk(92.6%, 0%, 81.5%, 89.4%)
CIE-LABlab(7.30, -13.25, 8.63)
CIE-LCHlch(7.30, 15.81, 146.91°)
OKLaboklab(19.51% -0.045 0.0303)
OKLCHoklch(19.51% 0.054 146.1)
XYZxyz(0.4443, 0.8077, 0.2760)
Luminance0.0081 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021B05 #1B0218
analogous
#0B1B02 #021B05 #021B11
triadic
#021B05 #05021B #1B0502
tetradic
#021B05 #020B1B #1B0218 #1B1102
square
#021B05 #020B1B #1B0218 #1B1102
split-complementary
#021B05 #11021B #1B020B
monochromatic
#021C05 #021C05 #021C05 #065410 #0A8D1A

Accessibility & contrast

On white

18.08
#021B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021B05
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021B05#FFFFFF#000000##FFFFFF
##021B051.0018.081.1618.08
#FFFFFF18.081.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021b05;
/* rgb */ color: rgb(2, 27, 5);
/* oklch */ color: oklch(19.5% 0.054 146.1);
Tailwind
colors: {
  custom: {
    50: '#475749',
    500: '#021b05',
    950: '#000000',
  },
}
SCSS
$custom: #021b05;
$custom-light: #475749;
$custom-dark: #000000;
JSON
{
  "hex": "#021b05",
  "rgb": {
    "r": 2,
    "g": 27,
    "b": 5
  },
  "hsl": {
    "h": 127.2,
    "s": 86.207,
    "l": 5.686
  },
  "oklch": {
    "l": 0.19509,
    "c": 0.05427,
    "h": 146.1
  },
  "luminance": 0.00808
}

Semantic roles & 50–950 ramp

primary
#021B05
secondary
#611858
accent
#2BE3FC
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000300
muted
#777877

Preview Lab

Preview with #021B05

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

Preview Lab → · Contrast checker → · Palette generator →

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