#528F20#528F20

#528F20 is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.7% C 0.154 H 134.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#528F20
RGBrgb(82, 143, 32)
HSLhsl(93, 63%, 34%)
HSVhsv(93, 78%, 56%)
CMYKcmyk(42.7%, 0%, 77.6%, 43.9%)
CIE-LABlab(53.54, -38.45, 49.19)
CIE-LCHlch(53.54, 62.44, 128.01°)
OKLaboklab(58.66% -0.1077 0.1097)
OKLCHoklch(58.66% 0.154 134.5)
XYZxyz(13.5626, 21.5423, 4.8097)
Luminance0.2154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528F20 #5D208F
analogous
#8A8F20 #528F20 #208F26
triadic
#528F20 #20528F #8F2052
tetradic
#528F20 #208A8F #5D208F #8F2620
square
#528F20 #208A8F #5D208F #8F2620
split-complementary
#528F20 #26208F #8F208A
monochromatic
#192B0A #355D15 #528F20 #6FC12B #8ED851

Accessibility & contrast

On white

3.96
#528F20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#528F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528F20
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528F20#FFFFFF#000000##000000
##528F201.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958305
Deuteranopia (green-blind)
#8C7E2C
Tritanopia (blue-blind)
#51897A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #528f20;
/* rgb */ color: rgb(82, 143, 32);
/* oklch */ color: oklch(58.7% 0.154 134.5);
Tailwind
colors: {
  custom: {
    50: '#88b064',
    500: '#528f20',
    950: '#000000',
  },
}
SCSS
$custom: #528f20;
$custom-light: #88b064;
$custom-dark: #000000;
JSON
{
  "hex": "#528f20",
  "rgb": {
    "r": 82,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 92.973,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.58661,
    "c": 0.15377,
    "h": 134.5
  },
  "luminance": 0.21543
}

Semantic roles & 50–950 ramp

primary
#528F20
secondary
#8B4FBB
accent
#41E69C
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528F20

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

Preview Lab → · Contrast checker → · Palette generator →

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