#021F06#021F06

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

Color values

HEX#021F06
RGBrgb(2, 31, 6)
HSLhsl(128, 88%, 6%)
HSVhsv(128, 94%, 12%)
CMYKcmyk(93.5%, 0%, 80.6%, 87.8%)
CIE-LABlab(9.04, -16.53, 10.76)
CIE-LCHlch(9.04, 19.72, 146.93°)
OKLaboklab(20.98% -0.0492 0.0329)
OKLCHoklch(20.98% 0.059 146.2)
XYZxyz(0.5479, 1.0060, 0.3376)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021F06 #1F021B
analogous
#0D1F02 #021F06 #021F15
triadic
#021F06 #06021F #1F0602
tetradic
#021F06 #020D1F #1F021B #1F1502
square
#021F06 #020D1F #1F021B #1F1502
split-complementary
#021F06 #15021F #1F020D
monochromatic
#021D06 #021D06 #021F06 #065811 #09921C

Accessibility & contrast

On white

17.48
#021F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021F06
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021F06#FFFFFF#000000##FFFFFF
##021F061.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201B04
Deuteranopia (green-blind)
#1C1908
Tritanopia (blue-blind)
#001E1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #021f06;
/* rgb */ color: rgb(2, 31, 6);
/* oklch */ color: oklch(21.0% 0.059 146.2);
Tailwind
colors: {
  custom: {
    50: '#465a49',
    500: '#021f06',
    950: '#000000',
  },
}
SCSS
$custom: #021f06;
$custom-light: #465a49;
$custom-dark: #000000;
JSON
{
  "hex": "#021f06",
  "rgb": {
    "r": 2,
    "g": 31,
    "b": 6
  },
  "hsl": {
    "h": 128.276,
    "s": 87.879,
    "l": 6.471
  },
  "oklch": {
    "l": 0.20981,
    "c": 0.05924,
    "h": 146.2
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#021F06
secondary
#65185A
accent
#2AE1FE
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #021F06

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

Preview Lab → · Contrast checker → · Palette generator →

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