#52872C#52872C

#52872C is a mid, vivid yellow-green. Relative luminance 0.193; OKLCH L 56.6% C 0.135 H 134.6°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#52872C
RGBrgb(82, 135, 44)
HSLhsl(95, 51%, 35%)
HSVhsv(95, 67%, 53%)
CMYKcmyk(39.3%, 0%, 67.4%, 47.1%)
CIE-LABlab(51.04, -34.03, 41.90)
CIE-LCHlch(51.04, 53.98, 129.08°)
OKLaboklab(56.65% -0.0948 0.0962)
OKLCHoklch(56.65% 0.135 134.6)
XYZxyz(12.5980, 19.3030, 5.4444)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52872C #612C87
analogous
#7F872C #52872C #2C8733
triadic
#52872C #2C5287 #872C52
tetradic
#52872C #2C7F87 #612C87 #87332C
square
#52872C #2C7F87 #612C87 #87332C
split-complementary
#52872C #332C87 #872C7F
monochromatic
#1A2B0E #36591D #52872C #6EB53B #8ECC62

Accessibility & contrast

On white

4.32
#52872C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#52872C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52872C
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52872C#FFFFFF#000000##000000
##52872C1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7C20
Deuteranopia (green-blind)
#857834
Tritanopia (blue-blind)
#518274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52872c;
/* rgb */ color: rgb(82, 135, 44);
/* oklch */ color: oklch(56.6% 0.135 134.6);
Tailwind
colors: {
  custom: {
    50: '#87aa6a',
    500: '#52872c',
    950: '#000000',
  },
}
SCSS
$custom: #52872c;
$custom-light: #87aa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#52872c",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 94.945,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.13507,
    "h": 134.6
  },
  "luminance": 0.19304
}

Semantic roles & 50–950 ramp

primary
#52872C
secondary
#8E5DB2
accent
#4DDAA0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52872C

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

Preview Lab → · Contrast checker → · Palette generator →

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