#52882A#52882A

#52882A is a mid, vivid yellow-green. Relative luminance 0.196; OKLCH L 56.9% C 0.138 H 134.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#52882A
RGBrgb(82, 136, 42)
HSLhsl(94, 53%, 35%)
HSVhsv(94, 69%, 53%)
CMYKcmyk(39.7%, 0%, 69.1%, 46.7%)
CIE-LABlab(51.35, -34.66, 43.10)
CIE-LCHlch(51.35, 55.30, 128.80°)
OKLaboklab(56.89% -0.0967 0.0984)
OKLCHoklch(56.89% 0.138 134.5)
XYZxyz(12.7015, 19.5687, 5.2979)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52882A #602A88
analogous
#81882A #52882A #2A8831
triadic
#52882A #2A5288 #882A52
tetradic
#52882A #2A8188 #602A88 #88312A
square
#52882A #2A8188 #602A88 #88312A
split-complementary
#52882A #312A88 #882A81
monochromatic
#1A2A0D #36591C #52882A #6EB738 #8ECE5F

Accessibility & contrast

On white

4.27
#52882A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#52882A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52882A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52882A#FFFFFF#000000##000000
##52882A1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1D
Deuteranopia (green-blind)
#867932
Tritanopia (blue-blind)
#518375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52882a;
/* rgb */ color: rgb(82, 136, 42);
/* oklch */ color: oklch(56.9% 0.138 134.5);
Tailwind
colors: {
  custom: {
    50: '#87ab69',
    500: '#52882a',
    950: '#000000',
  },
}
SCSS
$custom: #52882a;
$custom-light: #87ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#52882a",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 42
  },
  "hsl": {
    "h": 94.468,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5689,
    "c": 0.13798,
    "h": 134.5
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#52882A
secondary
#8E5BB3
accent
#4CDC9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52882A

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

Preview Lab → · Contrast checker → · Palette generator →

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