#52872A#52872A

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

Color values

HEX#52872A
RGBrgb(82, 135, 42)
HSLhsl(94, 53%, 35%)
HSVhsv(94, 69%, 53%)
CMYKcmyk(39.3%, 0%, 68.9%, 47.1%)
CIE-LABlab(51.02, -34.21, 42.76)
CIE-LCHlch(51.02, 54.76, 128.66°)
OKLaboklab(56.63% -0.0955 0.0977)
OKLCHoklch(56.63% 0.137 134.3)
XYZxyz(12.5613, 19.2884, 5.2512)
Luminance0.1929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52872A #5F2A87
analogous
#80872A #52872A #2A8731
triadic
#52872A #2A5287 #872A52
tetradic
#52872A #2A8087 #5F2A87 #87312A
square
#52872A #2A8087 #5F2A87 #87312A
split-complementary
#52872A #312A87 #872A80
monochromatic
#192A0D #36581B #52872A #6EB639 #8ECD5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52872A#FFFFFF#000000##000000
##52872A1.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)
#8C7C1D
Deuteranopia (green-blind)
#857832
Tritanopia (blue-blind)
#518274
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #52872a;
/* rgb */ color: rgb(82, 135, 42);
/* oklch */ color: oklch(56.6% 0.137 134.3);
Tailwind
colors: {
  custom: {
    50: '#87aa69',
    500: '#52872a',
    950: '#000000',
  },
}
SCSS
$custom: #52872a;
$custom-light: #87aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#52872a",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 94.194,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.56626,
    "c": 0.13661,
    "h": 134.3
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#52872A
secondary
#8D5AB3
accent
#4CDC9E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52872A

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

Preview Lab → · Contrast checker → · Palette generator →

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