#52802C#52802C

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

Color values

HEX#52802C
RGBrgb(82, 128, 44)
HSLhsl(93, 49%, 34%)
HSVhsv(93, 66%, 50%)
CMYKcmyk(35.9%, 0%, 65.6%, 49.8%)
CIE-LABlab(48.78, -30.82, 39.45)
CIE-LCHlch(48.78, 50.06, 128.00°)
OKLaboklab(54.8% -0.0861 0.091)
OKLCHoklch(54.8% 0.125 133.4)
XYZxyz(11.6533, 17.4136, 5.1295)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52802C #5A2C80
analogous
#7C802C #52802C #2C8030
triadic
#52802C #2C5280 #802C52
tetradic
#52802C #2C7C80 #5A2C80 #80302C
square
#52802C #2C7C80 #5A2C80 #80302C
split-complementary
#52802C #302C80 #802C7C
monochromatic
#18250D #35521C #52802C #6FAE3C #8EC85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52802C#FFFFFF#000000##FFFFFF
##52802C1.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)
#857622
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#527B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52802c;
/* rgb */ color: rgb(82, 128, 44);
/* oklch */ color: oklch(54.8% 0.125 133.4);
Tailwind
colors: {
  custom: {
    50: '#86a569',
    500: '#52802c',
    950: '#000000',
  },
}
SCSS
$custom: #52802c;
$custom-light: #86a569;
$custom-dark: #000000;
JSON
{
  "hex": "#52802c",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 92.857,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.12525,
    "h": 133.4
  },
  "luminance": 0.17414
}

Semantic roles & 50–950 ramp

primary
#52802C
secondary
#885AAE
accent
#4FD89A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #52802C

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

Preview Lab → · Contrast checker → · Palette generator →

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