#52882C#52882C

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

Color values

HEX#52882C
RGBrgb(82, 136, 44)
HSLhsl(95, 51%, 35%)
HSVhsv(95, 68%, 53%)
CMYKcmyk(39.7%, 0%, 67.6%, 46.7%)
CIE-LABlab(51.36, -34.48, 42.25)
CIE-LCHlch(51.36, 54.54, 129.22°)
OKLaboklab(56.91% -0.0961 0.0969)
OKLCHoklch(56.91% 0.136 134.8)
XYZxyz(12.7382, 19.5834, 5.4912)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52882C #622C88
analogous
#80882C #52882C #2C8834
triadic
#52882C #2C5288 #882C52
tetradic
#52882C #2C8088 #622C88 #88342C
square
#52882C #2C8088 #622C88 #88342C
split-complementary
#52882C #342C88 #882C80
monochromatic
#1A2C0E #365A1D #52882C #6EB63B #8ECC62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52882C#FFFFFF#000000##000000
##52882C1.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)
#8D7D20
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#518375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52882c;
/* rgb */ color: rgb(82, 136, 44);
/* oklch */ color: oklch(56.9% 0.136 134.8);
Tailwind
colors: {
  custom: {
    50: '#87ab6a',
    500: '#52882c',
    950: '#000000',
  },
}
SCSS
$custom: #52882c;
$custom-light: #87ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#52882c",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 44
  },
  "hsl": {
    "h": 95.217,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56909,
    "c": 0.13646,
    "h": 134.8
  },
  "luminance": 0.19584
}

Semantic roles & 50–950 ramp

primary
#52882C
secondary
#8F5DB3
accent
#4DDBA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52882C

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

Preview Lab → · Contrast checker → · Palette generator →

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