#022006#022006

#022006 is a very dark, moderate green. Relative luminance 0.011; OKLCH L 21.3% C 0.061 H 146.0°. Best body text is #FFFFFF at 17.33:1 contrast (WCAG AA passes).

Color values

HEX#022006
RGBrgb(2, 32, 6)
HSLhsl(128, 88%, 7%)
HSVhsv(128, 94%, 13%)
CMYKcmyk(93.8%, 0%, 81.2%, 87.5%)
CIE-LABlab(9.47, -17.30, 11.38)
CIE-LCHlch(9.47, 20.71, 146.67°)
OKLaboklab(21.34% -0.0504 0.034)
OKLCHoklch(21.34% 0.061 146)
XYZxyz(0.5744, 1.0590, 0.3464)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#022006 #20021C
analogous
#0D2002 #022006 #022015
triadic
#022006 #060220 #200602
tetradic
#022006 #020D20 #20021C #201502
square
#022006 #020D20 #20021C #201502
split-complementary
#022006 #150220 #20020D
monochromatic
#021D05 #021D05 #022006 #065A11 #09931C

Accessibility & contrast

On white

17.33
#022006 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#022006 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #022006
17.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##022006#FFFFFF#000000##FFFFFF
##0220061.0017.331.2117.33
#FFFFFF17.331.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C04
Deuteranopia (green-blind)
#1D1908
Tritanopia (blue-blind)
#001F1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #022006;
/* rgb */ color: rgb(2, 32, 6);
/* oklch */ color: oklch(21.3% 0.061 146.0);
Tailwind
colors: {
  custom: {
    50: '#465b49',
    500: '#022006',
    950: '#000000',
  },
}
SCSS
$custom: #022006;
$custom-light: #465b49;
$custom-dark: #000000;
JSON
{
  "hex": "#022006",
  "rgb": {
    "r": 2,
    "g": 32,
    "b": 6
  },
  "hsl": {
    "h": 128,
    "s": 88.235,
    "l": 6.667
  },
  "oklch": {
    "l": 0.21341,
    "c": 0.06082,
    "h": 146
  },
  "luminance": 0.01059
}

Semantic roles & 50–950 ramp

primary
#022006
secondary
#66185B
accent
#29E2FE
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #022006

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

Preview Lab → · Contrast checker → · Palette generator →

#022006 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva