#528A17#528A17

#528A17 is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.3% C 0.152 H 133.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#528A17
RGBrgb(82, 138, 23)
HSLhsl(89, 71%, 32%)
HSVhsv(89, 83%, 54%)
CMYKcmyk(40.6%, 0%, 83.3%, 45.9%)
CIE-LABlab(51.87, -36.79, 50.50)
CIE-LCHlch(51.87, 62.48, 126.07°)
OKLaboklab(57.28% -0.1039 0.111)
OKLCHoklch(57.28% 0.152 133.1)
XYZxyz(12.7226, 20.0320, 4.0067)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528A17 #4F178A
analogous
#8A8917 #528A17 #198A17
triadic
#528A17 #17528A #8A1752
tetradic
#528A17 #178A89 #4F178A #8A1719
square
#528A17 #178A89 #4F178A #8A1719
split-complementary
#528A17 #17198A #89178A
monochromatic
#142106 #33560E #528A17 #71BE20 #90DF3D

Accessibility & contrast

On white

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

On black

5.01
#528A17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528A17
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528A17#FFFFFF#000000##000000
##528A171.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#528475
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #528a17;
/* rgb */ color: rgb(82, 138, 23);
/* oklch */ color: oklch(57.3% 0.152 133.1);
Tailwind
colors: {
  custom: {
    50: '#88ac60',
    500: '#528a17',
    950: '#000000',
  },
}
SCSS
$custom: #528a17;
$custom-light: #88ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#528a17",
  "rgb": {
    "r": 82,
    "g": 138,
    "b": 23
  },
  "hsl": {
    "h": 89.217,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.15203,
    "h": 133.1
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

primary
#528A17
secondary
#7D3FBE
accent
#3AEE92
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528A17

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

Preview Lab → · Contrast checker → · Palette generator →

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