#052004#052004

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

Color values

HEX#052004
RGBrgb(5, 32, 4)
HSLhsl(118, 78%, 7%)
HSVhsv(118, 88%, 13%)
CMYKcmyk(84.4%, 0%, 87.5%, 87.5%)
CIE-LABlab(9.59, -16.73, 12.38)
CIE-LCHlch(9.59, 20.82, 143.49°)
OKLaboklab(21.47% -0.0486 0.0375)
OKLCHoklch(21.47% 0.061 142.3)
XYZxyz(0.6010, 1.0740, 0.2905)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052004 #1F0420
analogous
#132004 #052004 #042011
triadic
#052004 #040520 #200405
tetradic
#052004 #041320 #1F0420 #201104
square
#052004 #041320 #1F0420 #201104
split-complementary
#052004 #110420 #200413
monochromatic
#041B03 #041B03 #052004 #0E560B #168D12

Accessibility & contrast

On white

17.29
#052004 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #052004
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052004#FFFFFF#000000##FFFFFF
##0520041.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#211C02
Deuteranopia (green-blind)
#1E1A06
Tritanopia (blue-blind)
#021F1A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #052004;
/* rgb */ color: rgb(5, 32, 4);
/* oklch */ color: oklch(21.5% 0.061 142.3);
Tailwind
colors: {
  custom: {
    50: '#485b48',
    500: '#052004',
    950: '#000000',
  },
}
SCSS
$custom: #052004;
$custom-light: #485b48;
$custom-dark: #000000;
JSON
{
  "hex": "#052004",
  "rgb": {
    "r": 5,
    "g": 32,
    "b": 4
  },
  "hsl": {
    "h": 117.857,
    "s": 77.778,
    "l": 7.059
  },
  "oklch": {
    "l": 0.21473,
    "c": 0.06139,
    "h": 142.3
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#052004
secondary
#601D63
accent
#34F4ED
background
#F4F5F4
surface
#E6E9E6
border
#C2C5C2
text
#000400
muted
#777977

Preview Lab

Preview with #052004

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

Preview Lab → · Contrast checker → · Palette generator →

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