#052008#052008

#052008 is a very dark, muted green. Relative luminance 0.011; OKLCH L 21.6% C 0.056 H 145.7°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#052008
RGBrgb(5, 32, 8)
HSLhsl(127, 73%, 7%)
HSVhsv(127, 84%, 13%)
CMYKcmyk(84.4%, 0%, 75%, 87.5%)
CIE-LABlab(9.66, -16.13, 10.86)
CIE-LCHlch(9.66, 19.45, 146.07°)
OKLaboklab(21.55% -0.0461 0.0315)
OKLCHoklch(21.55% 0.056 145.7)
XYZxyz(0.6229, 1.0828, 0.4058)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052008 #20051D
analogous
#102005 #052008 #052016
triadic
#052008 #080520 #200805
tetradic
#052008 #051020 #20051D #201605
square
#052008 #051020 #20051D #201605
split-complementary
#052008 #160520 #200510
monochromatic
#041A07 #041A07 #052008 #0D5515 #168A22

Accessibility & contrast

On white

17.26
#052008 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052008
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052008#FFFFFF#000000##FFFFFF
##0520081.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C06
Deuteranopia (green-blind)
#1D1A0A
Tritanopia (blue-blind)
#011F1B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #052008;
/* rgb */ color: rgb(5, 32, 8);
/* oklch */ color: oklch(21.6% 0.056 145.7);
Tailwind
colors: {
  custom: {
    50: '#485b4a',
    500: '#052008',
    950: '#000000',
  },
}
SCSS
$custom: #052008;
$custom-light: #485b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#052008",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 8
  },
  "hsl": {
    "h": 126.667,
    "s": 72.973,
    "l": 7.255
  },
  "oklch": {
    "l": 0.21553,
    "c": 0.05581,
    "h": 145.7
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#052008
secondary
#61205A
accent
#38DBF0
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000401
muted
#777977

Preview Lab

Preview with #052008

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

Preview Lab → · Contrast checker → · Palette generator →

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