#52802A#52802A

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

Color values

HEX#52802A
RGBrgb(82, 128, 42)
HSLhsl(92, 51%, 33%)
HSVhsv(92, 67%, 50%)
CMYKcmyk(35.9%, 0%, 67.2%, 49.8%)
CIE-LABlab(48.76, -31.00, 40.34)
CIE-LCHlch(48.76, 50.87, 127.54°)
OKLaboklab(54.78% -0.0867 0.0926)
OKLCHoklch(54.78% 0.127 133.1)
XYZxyz(11.6166, 17.3989, 4.9363)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52802A #582A80
analogous
#7D802A #52802A #2A802D
triadic
#52802A #2A5280 #802A52
tetradic
#52802A #2A7D80 #582A80 #802D2A
square
#52802A #2A7D80 #582A80 #802D2A
split-complementary
#52802A #2D2A80 #802A7D
monochromatic
#17240C #34521B #52802A #70AE39 #8EC95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52802A#FFFFFF#000000##FFFFFF
##52802A1.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)
#85761F
Deuteranopia (green-blind)
#7F7331
Tritanopia (blue-blind)
#527B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #52802a;
/* rgb */ color: rgb(82, 128, 42);
/* oklch */ color: oklch(54.8% 0.127 133.1);
Tailwind
colors: {
  custom: {
    50: '#86a568',
    500: '#52802a',
    950: '#000000',
  },
}
SCSS
$custom: #52802a;
$custom-light: #86a568;
$custom-dark: #000000;
JSON
{
  "hex": "#52802a",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 92.093,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.54778,
    "c": 0.12688,
    "h": 133.1
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

primary
#52802A
secondary
#8657AF
accent
#4EDA99
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #52802A

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

Preview Lab → · Contrast checker → · Palette generator →

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