#52872B#52872B

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

Color values

HEX#52872B
RGBrgb(82, 135, 43)
HSLhsl(95, 52%, 35%)
HSVhsv(95, 68%, 53%)
CMYKcmyk(39.3%, 0%, 68.1%, 47.1%)
CIE-LABlab(51.03, -34.12, 42.33)
CIE-LCHlch(51.03, 54.37, 128.87°)
OKLaboklab(56.64% -0.0952 0.0969)
OKLCHoklch(56.64% 0.136 134.5)
XYZxyz(12.5794, 19.2956, 5.3466)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52872B #602B87
analogous
#80872B #52872B #2B8732
triadic
#52872B #2B5287 #872B52
tetradic
#52872B #2B8087 #602B87 #87322B
square
#52872B #2B8087 #602B87 #87322B
split-complementary
#52872B #322B87 #872B80
monochromatic
#1A2A0D #36591C #52872B #6EB53A #8ECC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52872B#FFFFFF#000000##000000
##52872B1.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)
#8C7C1F
Deuteranopia (green-blind)
#857833
Tritanopia (blue-blind)
#518274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #52872b;
/* rgb */ color: rgb(82, 135, 43);
/* oklch */ color: oklch(56.6% 0.136 134.5);
Tailwind
colors: {
  custom: {
    50: '#87aa69',
    500: '#52872b',
    950: '#000000',
  },
}
SCSS
$custom: #52872b;
$custom-light: #87aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#52872b",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 94.565,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56635,
    "c": 0.13585,
    "h": 134.5
  },
  "luminance": 0.19296
}

Semantic roles & 50–950 ramp

primary
#52872B
secondary
#8E5BB2
accent
#4DDB9F
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1007
muted
#7D7F7A

Preview Lab

Preview with #52872B

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

Preview Lab → · Contrast checker → · Palette generator →

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