#528817#528817

#528817 is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 56.8% C 0.150 H 132.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#528817
RGBrgb(82, 136, 23)
HSLhsl(89, 71%, 31%)
HSVhsv(89, 83%, 53%)
CMYKcmyk(39.7%, 0%, 83.1%, 46.7%)
CIE-LABlab(51.23, -35.91, 49.91)
CIE-LCHlch(51.23, 61.49, 125.74°)
OKLaboklab(56.75% -0.1015 0.1098)
OKLCHoklch(56.75% 0.15 132.8)
XYZxyz(12.4383, 19.4634, 3.9119)
Luminance0.1946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528817 #4D1788
analogous
#888517 #528817 #198817
triadic
#528817 #175288 #881752
tetradic
#528817 #178885 #4D1788 #881719
square
#528817 #178885 #4D1788 #881719
split-complementary
#528817 #171988 #851788
monochromatic
#131F05 #32540E #528817 #72BC20 #90DE3B

Accessibility & contrast

On white

4.29
#528817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#528817 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528817
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528817#FFFFFF#000000##000000
##5288171.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#877924
Tritanopia (blue-blind)
#538274
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #528817;
/* rgb */ color: rgb(82, 136, 23);
/* oklch */ color: oklch(56.8% 0.150 132.8);
Tailwind
colors: {
  custom: {
    50: '#88ab5f',
    500: '#528817',
    950: '#000000',
  },
}
SCSS
$custom: #528817;
$custom-light: #88ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#528817",
  "rgb": {
    "r": 82,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 88.673,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56752,
    "c": 0.14952,
    "h": 132.8
  },
  "luminance": 0.19464
}

Semantic roles & 50–950 ramp

primary
#528817
secondary
#7B3FBC
accent
#3AEE90
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528817

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

Preview Lab → · Contrast checker → · Palette generator →

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