#52882D#52882D

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

Color values

HEX#52882D
RGBrgb(82, 136, 45)
HSLhsl(96, 50%, 35%)
HSVhsv(96, 67%, 53%)
CMYKcmyk(39.7%, 0%, 66.9%, 46.7%)
CIE-LABlab(51.37, -34.39, 41.82)
CIE-LCHlch(51.37, 54.15, 129.44°)
OKLaboklab(56.92% -0.0957 0.0961)
OKLCHoklch(56.92% 0.136 134.9)
XYZxyz(12.7572, 19.5910, 5.5914)
Luminance0.1959 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52882D #632D88
analogous
#7F882D #52882D #2D8835
triadic
#52882D #2D5288 #882D52
tetradic
#52882D #2D7F88 #632D88 #88352D
square
#52882D #2D7F88 #632D88 #88352D
split-complementary
#52882D #352D88 #882D7F
monochromatic
#1B2C0F #365A1E #52882D #6EB63C #8ECC64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52882D#FFFFFF#000000##000000
##52882D1.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)
#8D7D21
Deuteranopia (green-blind)
#867935
Tritanopia (blue-blind)
#518375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52882d;
/* rgb */ color: rgb(82, 136, 45);
/* oklch */ color: oklch(56.9% 0.136 134.9);
Tailwind
colors: {
  custom: {
    50: '#87ab6a',
    500: '#52882d',
    950: '#000000',
  },
}
SCSS
$custom: #52882d;
$custom-light: #87ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#52882d",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 45
  },
  "hsl": {
    "h": 95.604,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56919,
    "c": 0.13567,
    "h": 134.9
  },
  "luminance": 0.19592
}

Semantic roles & 50–950 ramp

primary
#52882D
secondary
#905FB2
accent
#4EDAA1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52882D

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

Preview Lab → · Contrast checker → · Palette generator →

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