#528D21#528D21

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

Color values

HEX#528D21
RGBrgb(82, 141, 33)
HSLhsl(93, 62%, 34%)
HSVhsv(93, 77%, 55%)
CMYKcmyk(41.8%, 0%, 76.6%, 44.7%)
CIE-LABlab(52.90, -37.53, 48.22)
CIE-LCHlch(52.90, 61.10, 127.89°)
OKLaboklab(58.14% -0.1052 0.1078)
OKLCHoklch(58.14% 0.151 134.3)
XYZxyz(13.2788, 20.9527, 4.7831)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D21 #5C218D
analogous
#888D21 #528D21 #218D26
triadic
#528D21 #21528D #8D2152
tetradic
#528D21 #21888D #5C218D #8D2621
square
#528D21 #21888D #5C218D #8D2621
split-complementary
#528D21 #26218D #8D2188
monochromatic
#182A0A #355B15 #528D21 #6FBF2D #8ED652

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##528D21#FFFFFF#000000##000000
##528D211.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)
#938109
Deuteranopia (green-blind)
#8B7D2C
Tritanopia (blue-blind)
#518778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d21;
/* rgb */ color: rgb(82, 141, 33);
/* oklch */ color: oklch(58.1% 0.151 134.3);
Tailwind
colors: {
  custom: {
    50: '#88af65',
    500: '#528d21',
    950: '#000000',
  },
}
SCSS
$custom: #528d21;
$custom-light: #88af65;
$custom-dark: #000000;
JSON
{
  "hex": "#528d21",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 33
  },
  "hsl": {
    "h": 92.778,
    "s": 62.069,
    "l": 34.118
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.15063,
    "h": 134.3
  },
  "luminance": 0.20953
}

Semantic roles & 50–950 ramp

primary
#528D21
secondary
#8A50BA
accent
#43E59B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528D21

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

Preview Lab → · Contrast checker → · Palette generator →

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