#52882B#52882B

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

Color values

HEX#52882B
RGBrgb(82, 136, 43)
HSLhsl(95, 52%, 35%)
HSVhsv(95, 68%, 53%)
CMYKcmyk(39.7%, 0%, 68.4%, 46.7%)
CIE-LABlab(51.35, -34.57, 42.68)
CIE-LCHlch(51.35, 54.92, 129.01°)
OKLaboklab(56.9% -0.0964 0.0977)
OKLCHoklch(56.9% 0.137 134.6)
XYZxyz(12.7196, 19.5760, 5.3934)
Luminance0.1958 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52882B #612B88
analogous
#80882B #52882B #2B8833
triadic
#52882B #2B5288 #882B52
tetradic
#52882B #2B8088 #612B88 #88332B
square
#52882B #2B8088 #612B88 #88332B
split-complementary
#52882B #332B88 #882B80
monochromatic
#1A2B0E #365A1C #52882B #6EB63A #8ECD61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52882B#FFFFFF#000000##000000
##52882B1.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)
#8D7D1E
Deuteranopia (green-blind)
#867933
Tritanopia (blue-blind)
#518375
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52882b;
/* rgb */ color: rgb(82, 136, 43);
/* oklch */ color: oklch(56.9% 0.137 134.6);
Tailwind
colors: {
  custom: {
    50: '#87ab69',
    500: '#52882b',
    950: '#000000',
  },
}
SCSS
$custom: #52882b;
$custom-light: #87ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#52882b",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 43
  },
  "hsl": {
    "h": 94.839,
    "s": 51.955,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56899,
    "c": 0.13723,
    "h": 134.6
  },
  "luminance": 0.19577
}

Semantic roles & 50–950 ramp

primary
#52882B
secondary
#8E5CB3
accent
#4CDB9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52882B

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

Preview Lab → · Contrast checker → · Palette generator →

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