#021F09#021F09

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

Color values

HEX#021F09
RGBrgb(2, 31, 9)
HSLhsl(134, 88%, 6%)
HSVhsv(134, 94%, 12%)
CMYKcmyk(93.5%, 0%, 71%, 87.8%)
CIE-LABlab(9.10, -16.09, 9.62)
CIE-LCHlch(9.10, 18.74, 149.13°)
OKLaboklab(21.04% -0.0474 0.0284)
OKLCHoklch(21.04% 0.055 149)
XYZxyz(0.5643, 1.0125, 0.4241)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F09 #1F0218
analogous
#0A1F02 #021F09 #021F18
triadic
#021F09 #09021F #1F0902
tetradic
#021F09 #020A1F #1F0218 #1F1802
square
#021F09 #020A1F #1F0218 #1F1802
split-complementary
#021F09 #18021F #1F020A
monochromatic
#021D08 #021D08 #021F09 #06581A #09922A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##021F09#FFFFFF#000000##FFFFFF
##021F091.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)
#1F1B07
Deuteranopia (green-blind)
#1C190B
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021f09;
/* rgb */ color: rgb(2, 31, 9);
/* oklch */ color: oklch(21.0% 0.055 149.0);
Tailwind
colors: {
  custom: {
    50: '#465a4a',
    500: '#021f09',
    950: '#000000',
  },
}
SCSS
$custom: #021f09;
$custom-light: #465a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#021f09",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 9
  },
  "hsl": {
    "h": 134.483,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21044,
    "c": 0.05525,
    "h": 149
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#021F09
secondary
#651852
accent
#2ACBFE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #021F09

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

Preview Lab → · Contrast checker → · Palette generator →

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