#52852A#52852A

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

Color values

HEX#52852A
RGBrgb(82, 133, 42)
HSLhsl(94, 52%, 34%)
HSVhsv(94, 68%, 52%)
CMYKcmyk(38.3%, 0%, 68.4%, 47.8%)
CIE-LABlab(50.38, -33.30, 42.07)
CIE-LCHlch(50.38, 53.66, 128.36°)
OKLaboklab(56.1% -0.093 0.0963)
OKLCHoklch(56.1% 0.134 134)
XYZxyz(12.2849, 18.7355, 5.1591)
Luminance0.1874 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52852A #5D2A85
analogous
#80852A #52852A #2A852F
triadic
#52852A #2A5285 #852A52
tetradic
#52852A #2A8085 #5D2A85 #852F2A
square
#52852A #2A8085 #5D2A85 #852F2A
split-complementary
#52852A #2F2A85 #852A80
monochromatic
#19280D #35561B #52852A #6FB439 #8ECC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52852A#FFFFFF#000000##000000
##52852A1.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)
#8A7B1E
Deuteranopia (green-blind)
#837632
Tritanopia (blue-blind)
#528072
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52852a;
/* rgb */ color: rgb(82, 133, 42);
/* oklch */ color: oklch(56.1% 0.134 134.0);
Tailwind
colors: {
  custom: {
    50: '#87a968',
    500: '#52852a',
    950: '#000000',
  },
}
SCSS
$custom: #52852a;
$custom-light: #87a968;
$custom-dark: #000000;
JSON
{
  "hex": "#52852a",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 42
  },
  "hsl": {
    "h": 93.626,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.56097,
    "c": 0.13385,
    "h": 134
  },
  "luminance": 0.18736
}

Semantic roles & 50–950 ramp

primary
#52852A
secondary
#8B59B2
accent
#4CDB9D
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #52852A

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

Preview Lab → · Contrast checker → · Palette generator →

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