#021F08#021F08

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

Color values

HEX#021F08
RGBrgb(2, 31, 8)
HSLhsl(132, 88%, 6%)
HSVhsv(132, 94%, 12%)
CMYKcmyk(93.5%, 0%, 74.2%, 87.8%)
CIE-LABlab(9.08, -16.23, 10.00)
CIE-LCHlch(9.08, 19.07, 148.37°)
OKLaboklab(21.02% -0.048 0.0299)
OKLCHoklch(21.02% 0.057 148.1)
XYZxyz(0.5588, 1.0103, 0.3952)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F08 #1F0219
analogous
#0B1F02 #021F08 #021F17
triadic
#021F08 #08021F #1F0802
tetradic
#021F08 #020B1F #1F0219 #1F1702
square
#021F08 #020B1F #1F0219 #1F1702
split-complementary
#021F08 #17021F #1F020B
monochromatic
#021D07 #021D07 #021F08 #065817 #099226

Accessibility & contrast

On white

17.47
#021F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F08
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F08#FFFFFF#000000##FFFFFF
##021F081.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #021f08;
/* rgb */ color: rgb(2, 31, 8);
/* oklch */ color: oklch(21.0% 0.057 148.1);
Tailwind
colors: {
  custom: {
    50: '#465a4a',
    500: '#021f08',
    950: '#000000',
  },
}
SCSS
$custom: #021f08;
$custom-light: #465a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#021f08",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 8
  },
  "hsl": {
    "h": 132.414,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.21023,
    "c": 0.05653,
    "h": 148.1
  },
  "luminance": 0.0101
}

Semantic roles & 50–950 ramp

primary
#021F08
secondary
#651855
accent
#2AD2FE
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #021F08

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

Preview Lab → · Contrast checker → · Palette generator →

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