#52872E#52872E

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

Color values

HEX#52872E
RGBrgb(82, 135, 46)
HSLhsl(96, 49%, 35%)
HSVhsv(96, 66%, 53%)
CMYKcmyk(39.3%, 0%, 65.9%, 47.1%)
CIE-LABlab(51.06, -33.85, 41.03)
CIE-LCHlch(51.06, 53.19, 129.52°)
OKLaboklab(56.67% -0.0942 0.0946)
OKLCHoklch(56.67% 0.133 134.9)
XYZxyz(12.6365, 19.3184, 5.6472)
Luminance0.1932 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52872E #632E87
analogous
#7E872E #52872E #2E8736
triadic
#52872E #2E5287 #872E52
tetradic
#52872E #2E7E87 #632E87 #87362E
square
#52872E #2E7E87 #632E87 #87362E
split-complementary
#52872E #362E87 #872E7E
monochromatic
#1B2C0F #36591E #52872E #6EB53E #8ECA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52872E#FFFFFF#000000##000000
##52872E1.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)
#8C7C23
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#518274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52872e;
/* rgb */ color: rgb(82, 135, 46);
/* oklch */ color: oklch(56.7% 0.133 134.9);
Tailwind
colors: {
  custom: {
    50: '#87aa6b',
    500: '#52872e',
    950: '#000000',
  },
}
SCSS
$custom: #52872e;
$custom-light: #87aa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#52872e",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 95.73,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.56665,
    "c": 0.13348,
    "h": 134.9
  },
  "luminance": 0.19319
}

Semantic roles & 50–950 ramp

primary
#52872E
secondary
#9060B1
accent
#4FD9A1
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52872E

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

Preview Lab → · Contrast checker → · Palette generator →

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