#528917#528917

#528917 is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.0% C 0.151 H 132.9°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#528917
RGBrgb(82, 137, 23)
HSLhsl(89, 71%, 31%)
HSVhsv(89, 83%, 54%)
CMYKcmyk(40.1%, 0%, 83.2%, 46.3%)
CIE-LABlab(51.55, -36.35, 50.21)
CIE-LCHlch(51.55, 61.98, 125.91°)
OKLaboklab(57.02% -0.1027 0.1104)
OKLCHoklch(57.02% 0.151 132.9)
XYZxyz(12.5798, 19.7464, 3.9591)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528917 #4E1789
analogous
#898717 #528917 #198917
triadic
#528917 #175289 #891752
tetradic
#528917 #178987 #4E1789 #891719
square
#528917 #178987 #4E1789 #891719
split-complementary
#528917 #171989 #871789
monochromatic
#132005 #33550E #528917 #71BD20 #90DE3C

Accessibility & contrast

On white

4.24
#528917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#528917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528917
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528917#FFFFFF#000000##000000
##5289171.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#887924
Tritanopia (blue-blind)
#528374
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #528917;
/* rgb */ color: rgb(82, 137, 23);
/* oklch */ color: oklch(57.0% 0.151 132.9);
Tailwind
colors: {
  custom: {
    50: '#88ac60',
    500: '#528917',
    950: '#000000',
  },
}
SCSS
$custom: #528917;
$custom-light: #88ac60;
$custom-dark: #000000;
JSON
{
  "hex": "#528917",
  "rgb": {
    "r": 82,
    "g": 137,
    "b": 23
  },
  "hsl": {
    "h": 88.947,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.15078,
    "h": 132.9
  },
  "luminance": 0.19747
}

Semantic roles & 50–950 ramp

primary
#528917
secondary
#7C3FBD
accent
#3AEE91
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528917

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

Preview Lab → · Contrast checker → · Palette generator →

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