#052604#052604

#052604 is a very dark, moderate green. Relative luminance 0.014; OKLCH L 23.6% C 0.070 H 142.4°. Best body text is #FFFFFF at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#052604
RGBrgb(5, 38, 4)
HSLhsl(118, 81%, 8%)
HSVhsv(118, 89%, 15%)
CMYKcmyk(86.8%, 0%, 89.5%, 85.1%)
CIE-LABlab(12.14, -20.46, 15.93)
CIE-LCHlch(12.14, 25.93, 142.10°)
OKLaboklab(23.58% -0.0558 0.043)
OKLCHoklch(23.58% 0.07 142.4)
XYZxyz(0.7776, 1.4272, 0.3493)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#052604 #250426
analogous
#162604 #052604 #042614
triadic
#052604 #040526 #260405
tetradic
#052604 #041626 #250426 #261404
square
#052604 #041626 #250426 #261404
split-complementary
#052604 #140426 #260416
monochromatic
#041C03 #041C03 #052604 #0C5D0A #149510

Accessibility & contrast

On white

16.34
#052604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#052604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #052604
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##052604#FFFFFF#000000##FFFFFF
##0526041.0016.341.2916.34
#FFFFFF16.341.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272101
Deuteranopia (green-blind)
#231F07
Tritanopia (blue-blind)
#01251F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #052604;
/* rgb */ color: rgb(5, 38, 4);
/* oklch */ color: oklch(23.6% 0.070 142.4);
Tailwind
colors: {
  custom: {
    50: '#496148',
    500: '#052604',
    950: '#000000',
  },
}
SCSS
$custom: #052604;
$custom-light: #496148;
$custom-dark: #000000;
JSON
{
  "hex": "#052604",
  "rgb": {
    "r": 5,
    "g": 38,
    "b": 4
  },
  "hsl": {
    "h": 118.235,
    "s": 80.952,
    "l": 8.235
  },
  "oklch": {
    "l": 0.23581,
    "c": 0.07049,
    "h": 142.4
  },
  "luminance": 0.01427
}

Semantic roles & 50–950 ramp

primary
#052604
secondary
#671D69
accent
#30F7F1
background
#F4F5F4
surface
#E7E9E6
border
#C3C5C2
text
#010500
muted
#777977

Preview Lab

Preview with #052604

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

Preview Lab → · Contrast checker → · Palette generator →

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