#528D17#528D17

#528D17 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.156 H 133.6°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#528D17
RGBrgb(82, 141, 23)
HSLhsl(90, 72%, 32%)
HSVhsv(90, 84%, 55%)
CMYKcmyk(41.8%, 0%, 83.7%, 44.7%)
CIE-LABlab(52.85, -38.09, 51.38)
CIE-LCHlch(52.85, 63.96, 126.55°)
OKLaboklab(58.08% -0.1073 0.1129)
OKLCHoklch(58.08% 0.156 133.6)
XYZxyz(13.1590, 20.9048, 4.1521)
Luminance0.2091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D17 #52178D
analogous
#8D8D17 #528D17 #178D17
triadic
#528D17 #17528D #8D1752
tetradic
#528D17 #178D8D #52178D #8D1717
square
#528D17 #178D8D #52178D #8D1717
split-complementary
#528D17 #17178D #8D178D
monochromatic
#152406 #33580E #528D17 #71C220 #8FE03F

Accessibility & contrast

On white

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

On black

5.18
#528D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D17
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D17#FFFFFF#000000##000000
##528D171.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7C25
Tritanopia (blue-blind)
#528778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d17;
/* rgb */ color: rgb(82, 141, 23);
/* oklch */ color: oklch(58.1% 0.156 133.6);
Tailwind
colors: {
  custom: {
    50: '#88af60',
    500: '#528d17',
    950: '#000000',
  },
}
SCSS
$custom: #528d17;
$custom-light: #88af60;
$custom-dark: #000000;
JSON
{
  "hex": "#528d17",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.58079,
    "c": 0.15577,
    "h": 133.6
  },
  "luminance": 0.20905
}

Semantic roles & 50–950 ramp

primary
#528D17
secondary
#8040C0
accent
#39EF94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528D17

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

Preview Lab → · Contrast checker → · Palette generator →

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