#021F0A#021F0A

#021F0A is a very dark, muted green. Relative luminance 0.010; OKLCH L 21.1% C 0.054 H 150.0°. Best body text is #FFFFFF at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#021F0A
RGBrgb(2, 31, 10)
HSLhsl(137, 88%, 6%)
HSVhsv(137, 94%, 12%)
CMYKcmyk(93.5%, 0%, 67.7%, 87.8%)
CIE-LABlab(9.11, -15.94, 9.23)
CIE-LCHlch(9.11, 18.42, 149.92°)
OKLaboklab(21.07% -0.0468 0.027)
OKLCHoklch(21.07% 0.054 150)
XYZxyz(0.5698, 1.0147, 0.4529)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F0A #1F0217
analogous
#091F02 #021F0A #021F19
triadic
#021F0A #0A021F #1F0A02
tetradic
#021F0A #02091F #1F0217 #1F1902
square
#021F0A #02091F #1F0217 #1F1902
split-complementary
#021F0A #19021F #1F0209
monochromatic
#021D09 #021D09 #021F0A #06581D #09922F

Accessibility & contrast

On white

17.46
#021F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#021F0A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F0A
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F0A#FFFFFF#000000##FFFFFF
##021F0A1.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1B08
Deuteranopia (green-blind)
#1C190C
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021f0a;
/* rgb */ color: rgb(2, 31, 10);
/* oklch */ color: oklch(21.1% 0.054 150.0);
Tailwind
colors: {
  custom: {
    50: '#465a4b',
    500: '#021f0a',
    950: '#000000',
  },
}
SCSS
$custom: #021f0a;
$custom-light: #465a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#021f0a",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 10
  },
  "hsl": {
    "h": 136.552,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21065,
    "c": 0.05403,
    "h": 150
  },
  "luminance": 0.01015
}

Semantic roles & 50–950 ramp

primary
#021F0A
secondary
#651850
accent
#2AC3FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #021F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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