#52802B#52802B

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

Color values

HEX#52802B
RGBrgb(82, 128, 43)
HSLhsl(92, 50%, 34%)
HSVhsv(92, 66%, 50%)
CMYKcmyk(35.9%, 0%, 66.4%, 49.8%)
CIE-LABlab(48.77, -30.91, 39.90)
CIE-LCHlch(48.77, 50.47, 127.77°)
OKLaboklab(54.79% -0.0864 0.0918)
OKLCHoklch(54.79% 0.126 133.3)
XYZxyz(11.6347, 17.4061, 5.0317)
Luminance0.1741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52802B #592B80
analogous
#7C802B #52802B #2B802E
triadic
#52802B #2B5280 #802B52
tetradic
#52802B #2B7C80 #592B80 #802E2B
square
#52802B #2B7C80 #592B80 #802E2B
split-complementary
#52802B #2E2B80 #802B7C
monochromatic
#17240C #35521C #52802B #6FAE3A #8EC95D

Accessibility & contrast

On white

4.69
#52802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #52802B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52802B#FFFFFF#000000##FFFFFF
##52802B1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857620
Deuteranopia (green-blind)
#7F7332
Tritanopia (blue-blind)
#527B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52802b;
/* rgb */ color: rgb(82, 128, 43);
/* oklch */ color: oklch(54.8% 0.126 133.3);
Tailwind
colors: {
  custom: {
    50: '#86a569',
    500: '#52802b',
    950: '#000000',
  },
}
SCSS
$custom: #52802b;
$custom-light: #86a569;
$custom-dark: #000000;
JSON
{
  "hex": "#52802b",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 92.471,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.54788,
    "c": 0.12607,
    "h": 133.3
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#52802B
secondary
#8758AE
accent
#4FD99A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #52802B

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

Preview Lab → · Contrast checker → · Palette generator →

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