#021C0E#021C0E

#021C0E is a very dark, muted green. Relative luminance 0.009; OKLCH L 20.1% C 0.044 H 157.2°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#021C0E
RGBrgb(2, 28, 14)
HSLhsl(148, 87%, 6%)
HSVhsv(148, 93%, 11%)
CMYKcmyk(92.9%, 0%, 50%, 89%)
CIE-LABlab(7.90, -12.79, 5.66)
CIE-LCHlch(7.90, 13.99, 156.12°)
OKLaboklab(20.09% -0.0405 0.017)
OKLCHoklch(20.09% 0.044 157.2)
XYZxyz(0.5195, 0.8751, 0.5569)
Luminance0.0088 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C0E #1C0210
analogous
#031C02 #021C0E #021C1B
triadic
#021C0E #0E021C #1C0E02
tetradic
#021C0E #02031C #1C0210 #1C1B02
square
#021C0E #02031C #1C0210 #1C1B02
split-complementary
#021C0E #1B021C #1C0203
monochromatic
#021D0E #021D0E #021D0E #06552B #0A8E47

Accessibility & contrast

On white

17.87
#021C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021C0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C0E
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C0E#FFFFFF#000000##FFFFFF
##021C0E1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C190D
Deuteranopia (green-blind)
#18160F
Tritanopia (blue-blind)
#001C18
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #021c0e;
/* rgb */ color: rgb(2, 28, 14);
/* oklch */ color: oklch(20.1% 0.044 157.2);
Tailwind
colors: {
  custom: {
    50: '#47584d',
    500: '#021c0e',
    950: '#000000',
  },
}
SCSS
$custom: #021c0e;
$custom-light: #47584d;
$custom-dark: #000000;
JSON
{
  "hex": "#021c0e",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 14
  },
  "hsl": {
    "h": 147.692,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20093,
    "c": 0.04387,
    "h": 157.2
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#021C0E
secondary
#621840
accent
#2B9CFD
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000301
muted
#777877

Preview Lab

Preview with #021C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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