#052012#052012

#052012 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.8% C 0.043 H 157.6°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#052012
RGBrgb(5, 32, 18)
HSLhsl(149, 73%, 7%)
HSVhsv(149, 84%, 13%)
CMYKcmyk(84.4%, 0%, 43.8%, 87.5%)
CIE-LABlab(9.87, -14.34, 6.29)
CIE-LCHlch(9.87, 15.66, 156.33°)
OKLaboklab(21.79% -0.0401 0.0165)
OKLCHoklch(21.79% 0.043 157.6)
XYZxyz(0.6882, 1.1089, 0.7499)
Luminance0.0111 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052012 #200513
analogous
#062005 #052012 #052020
triadic
#052012 #120520 #201205
tetradic
#052012 #050620 #200513 #202005
square
#052012 #050620 #200513 #202005
split-complementary
#052012 #200520 #200506
monochromatic
#041A0F #041A0F #052012 #0D5530 #168A4E

Accessibility & contrast

On white

17.19
#052012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#052012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052012
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052012#FFFFFF#000000##FFFFFF
##0520121.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D11
Deuteranopia (green-blind)
#1C1A13
Tritanopia (blue-blind)
#00201C
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #052012;
/* rgb */ color: rgb(5, 32, 18);
/* oklch */ color: oklch(21.8% 0.043 157.6);
Tailwind
colors: {
  custom: {
    50: '#485b4f',
    500: '#052012',
    950: '#000000',
  },
}
SCSS
$custom: #052012;
$custom-light: #485b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#052012",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 148.889,
    "s": 72.973,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21788,
    "c": 0.04341,
    "h": 157.6
  },
  "luminance": 0.01109
}

Semantic roles & 50–950 ramp

primary
#052012
secondary
#612042
accent
#3897F0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000402
muted
#777978

Preview Lab

Preview with #052012

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

Preview Lab → · Contrast checker → · Palette generator →

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