#021A0B#021A0B

#021A0B is a very dark, muted green. Relative luminance 0.008; OKLCH L 19.3% C 0.044 H 154.3°. Best body text is #FFFFFF at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#021A0B
RGBrgb(2, 26, 11)
HSLhsl(143, 86%, 5%)
HSVhsv(143, 92%, 10%)
CMYKcmyk(92.3%, 0%, 57.7%, 89.8%)
CIE-LABlab(7.01, -11.58, 5.76)
CIE-LCHlch(7.01, 12.93, 153.56°)
OKLaboklab(19.29% -0.0397 0.0191)
OKLCHoklch(19.29% 0.044 154.3)
XYZxyz(0.4548, 0.7758, 0.4423)
Luminance0.0078 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021A0B #1A0211
analogous
#051A02 #021A0B #021A17
triadic
#021A0B #0B021A #1A0B02
tetradic
#021A0B #02051A #1A0211 #1A1702
square
#021A0B #02051A #1A0211 #1A1702
split-complementary
#021A0B #17021A #1A0205
monochromatic
#021C0C #021C0C #021C0C #065323 #0B8C3B

Accessibility & contrast

On white

18.18
#021A0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021A0B
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021A0B#FFFFFF#000000##FFFFFF
##021A0B1.0018.181.1618.18
#FFFFFF18.181.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A170A
Deuteranopia (green-blind)
#17150C
Tritanopia (blue-blind)
#001A16
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #021a0b;
/* rgb */ color: rgb(2, 26, 11);
/* oklch */ color: oklch(19.3% 0.044 154.3);
Tailwind
colors: {
  custom: {
    50: '#47564b',
    500: '#021a0b',
    950: '#000000',
  },
}
SCSS
$custom: #021a0b;
$custom-light: #47564b;
$custom-dark: #000000;
JSON
{
  "hex": "#021a0b",
  "rgb": {
    "r": 2,
    "g": 26,
    "b": 11
  },
  "hsl": {
    "h": 142.5,
    "s": 85.714,
    "l": 5.49
  },
  "oklch": {
    "l": 0.19294,
    "c": 0.04406,
    "h": 154.3
  },
  "luminance": 0.00776
}

Semantic roles & 50–950 ramp

primary
#021A0B
secondary
#601845
accent
#2CAEFC
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021A0B

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

Preview Lab → · Contrast checker → · Palette generator →

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