#528E17#528E17

#528E17 is a mid, vivid yellow-green. Relative luminance 0.212; OKLCH L 58.3% C 0.157 H 133.7°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#528E17
RGBrgb(82, 142, 23)
HSLhsl(90, 72%, 32%)
HSVhsv(90, 84%, 56%)
CMYKcmyk(42.3%, 0%, 83.8%, 44.3%)
CIE-LABlab(53.17, -38.51, 51.67)
CIE-LCHlch(53.17, 64.45, 126.70°)
OKLaboklab(58.34% -0.1085 0.1135)
OKLCHoklch(58.34% 0.157 133.7)
XYZxyz(13.3071, 21.2010, 4.2015)
Luminance0.2120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528E17 #53178E
analogous
#8E8E17 #528E17 #178E18
triadic
#528E17 #17528E #8E1752
tetradic
#528E17 #178E8E #53178E #8E1817
square
#528E17 #178E8E #53178E #8E1817
split-complementary
#528E17 #18178E #8E178E
monochromatic
#152506 #34590E #528E17 #70C320 #8FE03F

Accessibility & contrast

On white

4.01
#528E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#528E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528E17
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528E17#FFFFFF#000000##000000
##528E171.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8C7D25
Tritanopia (blue-blind)
#528879
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #528e17;
/* rgb */ color: rgb(82, 142, 23);
/* oklch */ color: oklch(58.3% 0.157 133.7);
Tailwind
colors: {
  custom: {
    50: '#88af60',
    500: '#528e17',
    950: '#000000',
  },
}
SCSS
$custom: #528e17;
$custom-light: #88af60;
$custom-dark: #000000;
JSON
{
  "hex": "#528e17",
  "rgb": {
    "r": 82,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 90.252,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58344,
    "c": 0.15701,
    "h": 133.7
  },
  "luminance": 0.21202
}

Semantic roles & 50–950 ramp

primary
#528E17
secondary
#8140C0
accent
#39EF95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C1005
muted
#7D7F7A

Preview Lab

Preview with #528E17

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

Preview Lab → · Contrast checker → · Palette generator →

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