#528017#528017

#528017 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.6% C 0.139 H 131.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#528017
RGBrgb(82, 128, 23)
HSLhsl(86, 70%, 30%)
HSVhsv(86, 82%, 50%)
CMYKcmyk(35.9%, 0%, 82%, 49.8%)
CIE-LABlab(48.63, -32.32, 47.53)
CIE-LCHlch(48.63, 57.48, 124.22°)
OKLaboklab(54.63% -0.0918 0.1048)
OKLCHoklch(54.63% 0.139 131.2)
XYZxyz(11.3534, 17.2936, 3.5502)
Luminance0.1729 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528017 #451780
analogous
#807A17 #528017 #1D8017
triadic
#528017 #175280 #801752
tetradic
#528017 #17807A #451780 #80171D
square
#528017 #17807A #451780 #80171D
split-complementary
#528017 #171D80 #7A1780
monochromatic
#111A05 #314C0E #528017 #73B420 #93DB36

Accessibility & contrast

On white

4.71
#528017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#528017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #528017
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528017#FFFFFF#000000##FFFFFF
##5280171.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#807223
Tritanopia (blue-blind)
#547A6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #528017;
/* rgb */ color: rgb(82, 128, 23);
/* oklch */ color: oklch(54.6% 0.139 131.2);
Tailwind
colors: {
  custom: {
    50: '#87a55e',
    500: '#528017',
    950: '#000000',
  },
}
SCSS
$custom: #528017;
$custom-light: #87a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#528017",
  "rgb": {
    "r": 82,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 86.286,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54629,
    "c": 0.13933,
    "h": 131.2
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#528017
secondary
#723EB4
accent
#3BEC89
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #528017

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

Preview Lab → · Contrast checker → · Palette generator →

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