#528B20#528B20

#528B20 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.6% C 0.149 H 133.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#528B20
RGBrgb(82, 139, 32)
HSLhsl(92, 63%, 34%)
HSVhsv(92, 77%, 55%)
CMYKcmyk(41%, 0%, 77%, 45.5%)
CIE-LABlab(52.24, -36.72, 47.94)
CIE-LCHlch(52.24, 60.39, 127.45°)
OKLaboklab(57.6% -0.1031 0.1071)
OKLCHoklch(57.6% 0.149 133.9)
XYZxyz(12.9728, 20.3627, 4.6131)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528B20 #59208B
analogous
#878B20 #528B20 #208B24
triadic
#528B20 #20528B #8B2052
tetradic
#528B20 #20878B #59208B #8B2420
square
#528B20 #20878B #59208B #8B2420
split-complementary
#528B20 #24208B #8B2087
monochromatic
#172809 #355915 #528B20 #6FBD2B #8ED64F

Accessibility & contrast

On white

4.14
#528B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#528B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528B20
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528B20#FFFFFF#000000##000000
##528B201.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#918008
Deuteranopia (green-blind)
#897B2B
Tritanopia (blue-blind)
#528577
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #528b20;
/* rgb */ color: rgb(82, 139, 32);
/* oklch */ color: oklch(57.6% 0.149 133.9);
Tailwind
colors: {
  custom: {
    50: '#88ad64',
    500: '#528b20',
    950: '#000000',
  },
}
SCSS
$custom: #528b20;
$custom-light: #88ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#528b20",
  "rgb": {
    "r": 82,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 91.963,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.14863,
    "h": 133.9
  },
  "luminance": 0.20363
}

Semantic roles & 50–950 ramp

primary
#528B20
secondary
#874DBA
accent
#42E699
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528B20

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

Preview Lab → · Contrast checker → · Palette generator →

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