#52804A#52804A

#52804A is a mid, moderate green. Relative luminance 0.177; OKLCH L 55.2% C 0.095 H 140.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#52804A
RGBrgb(82, 128, 74)
HSLhsl(111, 27%, 40%)
HSVhsv(111, 42%, 50%)
CMYKcmyk(35.9%, 0%, 42.2%, 49.8%)
CIE-LABlab(49.16, -27.05, 24.45)
CIE-LCHlch(49.16, 36.46, 137.89°)
OKLaboklab(55.24% -0.0738 0.0602)
OKLCHoklch(55.24% 0.095 140.8)
XYZxyz(12.4344, 17.7260, 9.2435)
Luminance0.1773 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52804A #784A80
analogous
#6D804A #52804A #4A805D
triadic
#52804A #4A5280 #804A52
tetradic
#52804A #4A6D80 #784A80 #805D4A
square
#52804A #4A6D80 #784A80 #805D4A
split-complementary
#52804A #5D4A80 #804A6D
monochromatic
#20321D #395934 #52804A #6CA563 #91BB89

Accessibility & contrast

On white

4.62
#52804A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#52804A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #52804A
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52804A#FFFFFF#000000##FFFFFF
##52804A1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837846
Deuteranopia (green-blind)
#7C734D
Tritanopia (blue-blind)
#4E7D73
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #52804a;
/* rgb */ color: rgb(82, 128, 74);
/* oklch */ color: oklch(55.2% 0.095 140.8);
Tailwind
colors: {
  custom: {
    50: '#85a57d',
    500: '#52804a',
    950: '#000000',
  },
}
SCSS
$custom: #52804a;
$custom-light: #85a57d;
$custom-dark: #000000;
JSON
{
  "hex": "#52804a",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 74
  },
  "hsl": {
    "h": 111.111,
    "s": 26.733,
    "l": 39.608
  },
  "oklch": {
    "l": 0.55237,
    "c": 0.0953,
    "h": 140.8
  },
  "luminance": 0.17727
}

Semantic roles & 50–950 ramp

primary
#52804A
secondary
#A17FA7
accent
#65C3B5
background
#F8FAF7
surface
#EFF4EE
border
#CACEC9
text
#0B0F09
muted
#7C7F7B

Preview Lab

Preview with #52804A

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

Preview Lab → · Contrast checker → · Palette generator →

#52804A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva