#528020#528020

#528020 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.7% C 0.134 H 132.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#528020
RGBrgb(82, 128, 32)
HSLhsl(89, 60%, 31%)
HSVhsv(89, 75%, 50%)
CMYKcmyk(35.9%, 0%, 75%, 49.8%)
CIE-LABlab(48.68, -31.79, 44.44)
CIE-LCHlch(48.68, 54.64, 125.58°)
OKLaboklab(54.69% -0.0897 0.0998)
OKLCHoklch(54.69% 0.134 132)
XYZxyz(11.4594, 17.3360, 4.1086)
Luminance0.1734 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528020 #4E2080
analogous
#807E20 #528020 #228020
triadic
#528020 #205280 #802052
tetradic
#528020 #20807E #4E2080 #802022
square
#528020 #20807E #4E2080 #802022
split-complementary
#528020 #202280 #7E2080
monochromatic
#131E08 #334F14 #528020 #71B12C #90D149

Accessibility & contrast

On white

4.70
#528020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#528020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #528020
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528020#FFFFFF#000000##FFFFFF
##5280201.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86760E
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#537B6D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #528020;
/* rgb */ color: rgb(82, 128, 32);
/* oklch */ color: oklch(54.7% 0.134 132.0);
Tailwind
colors: {
  custom: {
    50: '#87a562',
    500: '#528020',
    950: '#000000',
  },
}
SCSS
$custom: #528020;
$custom-light: #87a562;
$custom-dark: #000000;
JSON
{
  "hex": "#528020",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 88.75,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54689,
    "c": 0.13416,
    "h": 132
  },
  "luminance": 0.17336
}

Semantic roles & 50–950 ramp

primary
#528020
secondary
#7C49B3
accent
#45E391
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #528020

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

Preview Lab → · Contrast checker → · Palette generator →

#528020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva