#051602#051602

#051602 is a very dark, muted green. Relative luminance 0.006; OKLCH L 17.8% C 0.049 H 139.3°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#051602
RGBrgb(5, 22, 2)
HSLhsl(111, 83%, 5%)
HSVhsv(111, 91%, 9%)
CMYKcmyk(77.3%, 0%, 90.9%, 91.4%)
CIE-LABlab(5.51, -9.00, 7.27)
CIE-LCHlch(5.51, 11.57, 141.07°)
OKLaboklab(17.83% -0.0369 0.0318)
OKLCHoklch(17.83% 0.049 139.3)
XYZxyz(0.3604, 0.6104, 0.1563)
Luminance0.0061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#051602 #130216
analogous
#0F1602 #051602 #021609
triadic
#051602 #020516 #160205
tetradic
#051602 #020F16 #130216 #160902
square
#051602 #020F16 #130216 #160902
split-complementary
#051602 #090216 #16020F
monochromatic
#061C03 #061C03 #061C03 #124E07 #1F860C

Accessibility & contrast

On white

18.72
#051602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#051602 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #051602
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##051602#FFFFFF#000000##FFFFFF
##0516021.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171301
Deuteranopia (green-blind)
#151203
Tritanopia (blue-blind)
#041511
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #051602;
/* rgb */ color: rgb(5, 22, 2);
/* oklch */ color: oklch(17.8% 0.049 139.3);
Tailwind
colors: {
  custom: {
    50: '#495247',
    500: '#051602',
    950: '#000000',
  },
}
SCSS
$custom: #051602;
$custom-light: #495247;
$custom-dark: #000000;
JSON
{
  "hex": "#051602",
  "rgb": {
    "r": 5,
    "g": 22,
    "b": 2
  },
  "hsl": {
    "h": 111,
    "s": 83.333,
    "l": 4.706
  },
  "oklch": {
    "l": 0.1783,
    "c": 0.04869,
    "h": 139.3
  },
  "luminance": 0.0061
}

Semantic roles & 50–950 ramp

primary
#051602
secondary
#52185C
accent
#2EFADB
background
#F4F4F4
surface
#E6E7E6
border
#C2C3C2
text
#000200
muted
#777877

Preview Lab

Preview with #051602

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

Preview Lab → · Contrast checker → · Palette generator →

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