#528E20#528E20

#528E20 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.4% C 0.152 H 134.3°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#528E20
RGBrgb(82, 142, 32)
HSLhsl(93, 63%, 34%)
HSVhsv(93, 77%, 56%)
CMYKcmyk(42.3%, 0%, 77.5%, 44.3%)
CIE-LABlab(53.21, -38.02, 48.88)
CIE-LCHlch(53.21, 61.93, 127.88°)
OKLaboklab(58.4% -0.1066 0.1091)
OKLCHoklch(58.4% 0.152 134.3)
XYZxyz(13.4131, 21.2434, 4.7599)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E20 #5C208E
analogous
#898E20 #528E20 #208E25
triadic
#528E20 #20528E #8E2052
tetradic
#528E20 #20898E #5C208E #8E2520
square
#528E20 #20898E #5C208E #8E2520
split-complementary
#528E20 #25208E #8E2089
monochromatic
#182A09 #355C15 #528E20 #6FC02B #8ED851

Accessibility & contrast

On white

4.00
#528E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#528E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E20
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E20#FFFFFF#000000##000000
##528E201.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948206
Deuteranopia (green-blind)
#8C7D2B
Tritanopia (blue-blind)
#518879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e20;
/* rgb */ color: rgb(82, 142, 32);
/* oklch */ color: oklch(58.4% 0.152 134.3);
Tailwind
colors: {
  custom: {
    50: '#88af64',
    500: '#528e20',
    950: '#000000',
  },
}
SCSS
$custom: #528e20;
$custom-light: #88af64;
$custom-dark: #000000;
JSON
{
  "hex": "#528e20",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 32
  },
  "hsl": {
    "h": 92.727,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58396,
    "c": 0.15249,
    "h": 134.3
  },
  "luminance": 0.21244
}

Semantic roles & 50–950 ramp

primary
#528E20
secondary
#8A4FBB
accent
#42E69B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528E20

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

Preview Lab → · Contrast checker → · Palette generator →

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