#528517#528517

#528517 is a mid, vivid yellow-green. Relative luminance 0.186; OKLCH L 56.0% C 0.146 H 132.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#528517
RGBrgb(82, 133, 23)
HSLhsl(88, 71%, 31%)
HSVhsv(88, 83%, 52%)
CMYKcmyk(38.3%, 0%, 82.7%, 47.8%)
CIE-LABlab(50.25, -34.58, 49.02)
CIE-LCHlch(50.25, 59.99, 125.20°)
OKLaboklab(55.96% -0.0979 0.1079)
OKLCHoklch(55.96% 0.146 132.2)
XYZxyz(12.0217, 18.6302, 3.7730)
Luminance0.1863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528517 #4A1785
analogous
#858117 #528517 #1B8517
triadic
#528517 #175285 #851752
tetradic
#528517 #178581 #4A1785 #85171B
square
#528517 #178581 #4A1785 #85171B
split-complementary
#528517 #171B85 #811785
monochromatic
#121D05 #32510E #528517 #72B920 #91DD3A

Accessibility & contrast

On white

4.44
#528517 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#528517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528517
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528517#FFFFFF#000000##000000
##5285171.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#847624
Tritanopia (blue-blind)
#537F71
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #528517;
/* rgb */ color: rgb(82, 133, 23);
/* oklch */ color: oklch(56.0% 0.146 132.2);
Tailwind
colors: {
  custom: {
    50: '#88a95f',
    500: '#528517',
    950: '#000000',
  },
}
SCSS
$custom: #528517;
$custom-light: #88a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#528517",
  "rgb": {
    "r": 82,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 87.818,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55956,
    "c": 0.14573,
    "h": 132.2
  },
  "luminance": 0.18631
}

Semantic roles & 50–950 ramp

primary
#528517
secondary
#773FB9
accent
#3BED8D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528517

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

Preview Lab → · Contrast checker → · Palette generator →

#528517 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva