#052408#052408

#052408 is a very dark, moderate green. Relative luminance 0.013; OKLCH L 23.0% C 0.062 H 145.0°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#052408
RGBrgb(5, 36, 8)
HSLhsl(126, 76%, 8%)
HSVhsv(126, 86%, 14%)
CMYKcmyk(86.1%, 0%, 77.8%, 85.9%)
CIE-LABlab(11.36, -18.75, 13.23)
CIE-LCHlch(11.36, 22.95, 144.79°)
OKLaboklab(22.95% -0.0512 0.0358)
OKLCHoklch(22.95% 0.062 145)
XYZxyz(0.7372, 1.3115, 0.4440)
Luminance0.0131 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052408 #240521
analogous
#112405 #052408 #052417
triadic
#052408 #080524 #240805
tetradic
#052408 #051124 #240521 #241705
square
#052408 #051124 #240521 #241705
split-complementary
#052408 #170524 #240511
monochromatic
#041B06 #041B06 #052408 #0C5A14 #148F20

Accessibility & contrast

On white

16.63
#052408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#052408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052408
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052408#FFFFFF#000000##FFFFFF
##0524081.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252006
Deuteranopia (green-blind)
#211D0A
Tritanopia (blue-blind)
#00231E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #052408;
/* rgb */ color: rgb(5, 36, 8);
/* oklch */ color: oklch(23.0% 0.062 145.0);
Tailwind
colors: {
  custom: {
    50: '#495f4a',
    500: '#052408',
    950: '#000000',
  },
}
SCSS
$custom: #052408;
$custom-light: #495f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#052408",
  "rgb": {
    "r": 5,
    "g": 36,
    "b": 8
  },
  "hsl": {
    "h": 125.806,
    "s": 75.61,
    "l": 8.039
  },
  "oklch": {
    "l": 0.22952,
    "c": 0.06245,
    "h": 145
  },
  "luminance": 0.01312
}

Semantic roles & 50–950 ramp

primary
#052408
secondary
#661F5F
accent
#36E0F2
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010401
muted
#777977

Preview Lab

Preview with #052408

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

Preview Lab → · Contrast checker → · Palette generator →

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