#52852F#52852F

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

Color values

HEX#52852F
RGBrgb(82, 133, 47)
HSLhsl(96, 48%, 35%)
HSVhsv(96, 65%, 52%)
CMYKcmyk(38.3%, 0%, 64.7%, 47.8%)
CIE-LABlab(50.42, -32.85, 39.88)
CIE-LCHlch(50.42, 51.66, 129.48°)
OKLaboklab(56.15% -0.0914 0.0923)
OKLCHoklch(56.15% 0.13 134.7)
XYZxyz(12.3800, 18.7736, 5.6601)
Luminance0.1877 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#52852F #622F85
analogous
#7D852F #52852F #2F8537
triadic
#52852F #2F5285 #852F52
tetradic
#52852F #2F7D85 #622F85 #85372F
square
#52852F #2F7D85 #622F85 #85372F
split-complementary
#52852F #372F85 #852F7D
monochromatic
#1A2B0F #36581F #52852F #6EB23F #8EC966

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##52852F#FFFFFF#000000##000000
##52852F1.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)
#8A7B25
Deuteranopia (green-blind)
#837636
Tritanopia (blue-blind)
#518073
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #52852f;
/* rgb */ color: rgb(82, 133, 47);
/* oklch */ color: oklch(56.1% 0.130 134.7);
Tailwind
colors: {
  custom: {
    50: '#86a96b',
    500: '#52852f',
    950: '#000000',
  },
}
SCSS
$custom: #52852f;
$custom-light: #86a96b;
$custom-dark: #000000;
JSON
{
  "hex": "#52852f",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 47
  },
  "hsl": {
    "h": 95.581,
    "s": 47.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.56149,
    "c": 0.12985,
    "h": 134.7
  },
  "luminance": 0.18774
}

Semantic roles & 50–950 ramp

primary
#52852F
secondary
#8F60B0
accent
#50D7A0
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0B1007
muted
#7C7F7A

Preview Lab

Preview with #52852F

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

Preview Lab → · Contrast checker → · Palette generator →

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