#52852B#52852B

#52852B is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.1% C 0.133 H 134.2°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#52852B
RGBrgb(82, 133, 43)
HSLhsl(94, 51%, 35%)
HSVhsv(94, 68%, 52%)
CMYKcmyk(38.3%, 0%, 67.7%, 47.8%)
CIE-LABlab(50.38, -33.22, 41.64)
CIE-LCHlch(50.38, 53.27, 128.58°)
OKLaboklab(56.11% -0.0927 0.0955)
OKLCHoklch(56.11% 0.133 134.2)
XYZxyz(12.3030, 18.7427, 5.2545)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52852B #5E2B85
analogous
#7F852B #52852B #2B8531
triadic
#52852B #2B5285 #852B52
tetradic
#52852B #2B7F85 #5E2B85 #85312B
square
#52852B #2B7F85 #5E2B85 #85312B
split-complementary
#52852B #312B85 #852B7F
monochromatic
#19290D #35571C #52852B #6FB33A #8ECB5F

Accessibility & contrast

On white

4.42
#52852B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#52852B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #52852B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##52852B#FFFFFF#000000##000000
##52852B1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B1F
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#528073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52852b;
/* rgb */ color: rgb(82, 133, 43);
/* oklch */ color: oklch(56.1% 0.133 134.2);
Tailwind
colors: {
  custom: {
    50: '#87a969',
    500: '#52852b',
    950: '#000000',
  },
}
SCSS
$custom: #52852b;
$custom-light: #87a969;
$custom-dark: #000000;
JSON
{
  "hex": "#52852b",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 43
  },
  "hsl": {
    "h": 94,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.13308,
    "h": 134.2
  },
  "luminance": 0.18743
}

Semantic roles & 50–950 ramp

primary
#52852B
secondary
#8C5BB1
accent
#4DDB9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52852B

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

Preview Lab → · Contrast checker → · Palette generator →

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