#021F10#021F10

#021F10 is a very dark, muted green. Relative luminance 0.010; OKLCH L 21.2% C 0.047 H 157.5°. Best body text is #FFFFFF at 17.41:1 contrast (WCAG AA passes).

Color values

HEX#021F10
RGBrgb(2, 31, 16)
HSLhsl(149, 88%, 6%)
HSVhsv(149, 94%, 12%)
CMYKcmyk(93.5%, 0%, 48.4%, 87.8%)
CIE-LABlab(9.24, -14.90, 6.54)
CIE-LCHlch(9.24, 16.27, 156.32°)
OKLaboklab(21.21% -0.0431 0.0179)
OKLCHoklch(21.21% 0.047 157.5)
XYZxyz(0.6085, 1.0302, 0.6569)
Luminance0.0103 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F10 #1F0211
analogous
#021F02 #021F10 #021F1F
triadic
#021F10 #10021F #1F1002
tetradic
#021F10 #02021F #1F0211 #1F1F02
square
#021F10 #02021F #1F0211 #1F1F02
split-complementary
#021F10 #1F021F #1F0202
monochromatic
#021D0F #021D0F #021F10 #06582E #09924B

Accessibility & contrast

On white

17.41
#021F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#021F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021F10
17.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F10#FFFFFF#000000##FFFFFF
##021F101.0017.411.2117.41
#FFFFFF17.411.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1C0F
Deuteranopia (green-blind)
#1B1911
Tritanopia (blue-blind)
#001F1B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021f10;
/* rgb */ color: rgb(2, 31, 16);
/* oklch */ color: oklch(21.2% 0.047 157.5);
Tailwind
colors: {
  custom: {
    50: '#475a4e',
    500: '#021f10',
    950: '#000000',
  },
}
SCSS
$custom: #021f10;
$custom-light: #475a4e;
$custom-dark: #000000;
JSON
{
  "hex": "#021f10",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 16
  },
  "hsl": {
    "h": 148.966,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21212,
    "c": 0.04669,
    "h": 157.5
  },
  "luminance": 0.0103
}

Semantic roles & 50–950 ramp

primary
#021F10
secondary
#651840
accent
#2A98FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #021F10

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

Preview Lab → · Contrast checker → · Palette generator →

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