#528D20#528D20

#528D20 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.151 H 134.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#528D20
RGBrgb(82, 141, 32)
HSLhsl(92, 63%, 34%)
HSVhsv(92, 77%, 55%)
CMYKcmyk(41.8%, 0%, 77.3%, 44.7%)
CIE-LABlab(52.89, -37.59, 48.57)
CIE-LCHlch(52.89, 61.42, 127.74°)
OKLaboklab(58.13% -0.1054 0.1084)
OKLCHoklch(58.13% 0.151 134.2)
XYZxyz(13.2650, 20.9472, 4.7105)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D20 #5B208D
analogous
#898D20 #528D20 #208D25
triadic
#528D20 #20528D #8D2052
tetradic
#528D20 #20898D #5B208D #8D2520
square
#528D20 #20898D #5B208D #8D2520
split-complementary
#528D20 #25208D #8D2089
monochromatic
#182909 #355B15 #528D20 #6FBF2B #8ED750

Accessibility & contrast

On white

4.05
#528D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#528D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D20
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D20#FFFFFF#000000##000000
##528D201.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#938107
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d20;
/* rgb */ color: rgb(82, 141, 32);
/* oklch */ color: oklch(58.1% 0.151 134.2);
Tailwind
colors: {
  custom: {
    50: '#88af64',
    500: '#528d20',
    950: '#000000',
  },
}
SCSS
$custom: #528d20;
$custom-light: #88af64;
$custom-dark: #000000;
JSON
{
  "hex": "#528d20",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 92.477,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.15121,
    "h": 134.2
  },
  "luminance": 0.20948
}

Semantic roles & 50–950 ramp

primary
#528D20
secondary
#894EBA
accent
#42E69B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D20

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

Preview Lab → · Contrast checker → · Palette generator →

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