#021C0B#021C0B

#021C0B is a very dark, muted green. Relative luminance 0.009; OKLCH L 20.0% C 0.048 H 152.8°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#021C0B
RGBrgb(2, 28, 11)
HSLhsl(141, 87%, 6%)
HSVhsv(141, 93%, 11%)
CMYKcmyk(92.9%, 0%, 60.7%, 89%)
CIE-LABlab(7.84, -13.27, 6.97)
CIE-LCHlch(7.84, 14.99, 152.31°)
OKLaboklab(20.01% -0.0423 0.0218)
OKLCHoklch(20.01% 0.048 152.8)
XYZxyz(0.5006, 0.8675, 0.4576)
Luminance0.0087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C0B #1C0213
analogous
#061C02 #021C0B #021C18
triadic
#021C0B #0B021C #1C0B02
tetradic
#021C0B #02061C #1C0213 #1C1802
square
#021C0B #02061C #1C0213 #1C1802
split-complementary
#021C0B #18021C #1C0206
monochromatic
#021D0B #021D0B #021D0B #065521 #0A8E38

Accessibility & contrast

On white

17.89
#021C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#021C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C0B
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C0B#FFFFFF#000000##FFFFFF
##021C0B1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190A
Deuteranopia (green-blind)
#19160C
Tritanopia (blue-blind)
#001B18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021c0b;
/* rgb */ color: rgb(2, 28, 11);
/* oklch */ color: oklch(20.0% 0.048 152.8);
Tailwind
colors: {
  custom: {
    50: '#47584b',
    500: '#021c0b',
    950: '#000000',
  },
}
SCSS
$custom: #021c0b;
$custom-light: #47584b;
$custom-dark: #000000;
JSON
{
  "hex": "#021c0b",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 11
  },
  "hsl": {
    "h": 140.769,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20014,
    "c": 0.04762,
    "h": 152.8
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#021C0B
secondary
#621848
accent
#2BB4FD
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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