#527D20#527D20

#527D20 is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.130 H 131.3°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#527D20
RGBrgb(82, 125, 32)
HSLhsl(88, 59%, 31%)
HSVhsv(88, 74%, 49%)
CMYKcmyk(34.4%, 0%, 74.4%, 51%)
CIE-LABlab(47.71, -30.39, 43.46)
CIE-LCHlch(47.71, 53.04, 124.96°)
OKLaboklab(53.9% -0.0859 0.0977)
OKLCHoklch(53.9% 0.13 131.3)
XYZxyz(11.0739, 16.5650, 3.9801)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527D20 #4B207D
analogous
#7D7920 #527D20 #237D20
triadic
#527D20 #20527D #7D2052
tetradic
#527D20 #207D79 #4B207D #7D2023
square
#527D20 #207D79 #4B207D #7D2023
split-complementary
#527D20 #20237D #79207D
monochromatic
#121C07 #324C14 #527D20 #72AE2C #91D047

Accessibility & contrast

On white

4.87
#527D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#527D20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527D20
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527D20#FFFFFF#000000##FFFFFF
##527D201.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837310
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#54786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #527d20;
/* rgb */ color: rgb(82, 125, 32);
/* oklch */ color: oklch(53.9% 0.130 131.3);
Tailwind
colors: {
  custom: {
    50: '#86a362',
    500: '#527d20',
    950: '#000000',
  },
}
SCSS
$custom: #527d20;
$custom-light: #86a362;
$custom-dark: #000000;
JSON
{
  "hex": "#527d20",
  "rgb": {
    "r": 82,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 87.742,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.13012,
    "h": 131.3
  },
  "luminance": 0.16565
}

Semantic roles & 50–950 ramp

primary
#527D20
secondary
#7949B0
accent
#45E28E
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #527D20

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

Preview Lab → · Contrast checker → · Palette generator →

#527D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva