#52802D#52802D

#52802D is a mid, vivid yellow-green. Relative luminance 0.174; OKLCH L 54.8% C 0.124 H 133.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#52802D
RGBrgb(82, 128, 45)
HSLhsl(93, 48%, 34%)
HSVhsv(93, 65%, 50%)
CMYKcmyk(35.9%, 0%, 64.8%, 49.8%)
CIE-LABlab(48.79, -30.72, 39.00)
CIE-LCHlch(48.79, 49.65, 128.23°)
OKLaboklab(54.81% -0.0857 0.0902)
OKLCHoklch(54.81% 0.124 133.6)
XYZxyz(11.6723, 17.4212, 5.2297)
Luminance0.1742 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52802D #5B2D80
analogous
#7C802D #52802D #2D8032
triadic
#52802D #2D5280 #802D52
tetradic
#52802D #2D7C80 #5B2D80 #80322D
square
#52802D #2D7C80 #5B2D80 #80322D
split-complementary
#52802D #322D80 #802D7C
monochromatic
#18250D #35531D #52802D #6FAD3D #8EC760

Accessibility & contrast

On white

4.68
#52802D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#52802D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #52802D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52802D#FFFFFF#000000##FFFFFF
##52802D1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857623
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#527B6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52802d;
/* rgb */ color: rgb(82, 128, 45);
/* oklch */ color: oklch(54.8% 0.124 133.6);
Tailwind
colors: {
  custom: {
    50: '#86a56a',
    500: '#52802d',
    950: '#000000',
  },
}
SCSS
$custom: #52802d;
$custom-light: #86a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#52802d",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 93.253,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.54809,
    "c": 0.12441,
    "h": 133.6
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#52802D
secondary
#895BAE
accent
#50D89B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F07
muted
#7C7F7A

Preview Lab

Preview with #52802D

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

Preview Lab → · Contrast checker → · Palette generator →

#52802D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva