#52882F#52882F

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

Color values

HEX#52882F
RGBrgb(82, 136, 47)
HSLhsl(96, 49%, 36%)
HSVhsv(96, 65%, 53%)
CMYKcmyk(39.7%, 0%, 65.4%, 46.7%)
CIE-LABlab(51.39, -34.21, 40.94)
CIE-LCHlch(51.39, 53.35, 129.88°)
OKLaboklab(56.94% -0.0951 0.0945)
OKLCHoklch(56.94% 0.134 135.2)
XYZxyz(12.7966, 19.6068, 5.7990)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52882F #652F88
analogous
#7E882F #52882F #2F8838
triadic
#52882F #2F5288 #882F52
tetradic
#52882F #2F7E88 #652F88 #88382F
square
#52882F #2F7E88 #652F88 #88382F
split-complementary
#52882F #382F88 #882F7E
monochromatic
#1B2D10 #375B1F #52882F #6DB53F #8ECA67

Accessibility & contrast

On white

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

On black

4.92
#52882F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52882F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52882F#FFFFFF#000000##000000
##52882F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #52882f;
/* rgb */ color: rgb(82, 136, 47);
/* oklch */ color: oklch(56.9% 0.134 135.2);
Tailwind
colors: {
  custom: {
    50: '#87ab6c',
    500: '#52882f',
    950: '#000000',
  },
}
SCSS
$custom: #52882f;
$custom-light: #87ab6c;
$custom-dark: #000000;
JSON
{
  "hex": "#52882f",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 47
  },
  "hsl": {
    "h": 96.404,
    "s": 48.634,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56939,
    "c": 0.13407,
    "h": 135.2
  },
  "luminance": 0.19607
}

Semantic roles & 50–950 ramp

primary
#52882F
secondary
#9261B1
accent
#50D8A2
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52882F

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

Preview Lab → · Contrast checker → · Palette generator →

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