#528A21#528A21

#528A21 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.3% C 0.147 H 133.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#528A21
RGBrgb(82, 138, 33)
HSLhsl(92, 61%, 34%)
HSVhsv(92, 76%, 54%)
CMYKcmyk(40.6%, 0%, 76.1%, 45.9%)
CIE-LABlab(51.93, -36.22, 47.27)
CIE-LCHlch(51.93, 59.55, 127.46°)
OKLaboklab(57.34% -0.1016 0.1058)
OKLCHoklch(57.34% 0.147 133.8)
XYZxyz(12.8424, 20.0800, 4.6377)
Luminance0.2008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A21 #59218A
analogous
#868A21 #528A21 #218A24
triadic
#528A21 #21528A #8A2152
tetradic
#528A21 #21868A #59218A #8A2421
square
#528A21 #21868A #59218A #8A2421
split-complementary
#528A21 #24218A #8A2186
monochromatic
#172709 #355915 #528A21 #6FBB2D #8ED550

Accessibility & contrast

On white

4.19
#528A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#528A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528A21
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528A21#FFFFFF#000000##000000
##528A211.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0B
Deuteranopia (green-blind)
#887A2B
Tritanopia (blue-blind)
#528476
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a21;
/* rgb */ color: rgb(82, 138, 33);
/* oklch */ color: oklch(57.3% 0.147 133.8);
Tailwind
colors: {
  custom: {
    50: '#88ac64',
    500: '#528a21',
    950: '#000000',
  },
}
SCSS
$custom: #528a21;
$custom-light: #88ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#528a21",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 92,
    "s": 61.404,
    "l": 33.529
  },
  "oklch": {
    "l": 0.57344,
    "c": 0.14674,
    "h": 133.8
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#528A21
secondary
#874EB9
accent
#43E599
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #528A21

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

Preview Lab → · Contrast checker → · Palette generator →

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