#528716#528716

#528716 is a mid, vivid yellow-green. Relative luminance 0.192; OKLCH L 56.5% C 0.149 H 132.5°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#528716
RGBrgb(82, 135, 22)
HSLhsl(88, 72%, 31%)
HSVhsv(88, 84%, 53%)
CMYKcmyk(39.3%, 0%, 83.7%, 47.1%)
CIE-LABlab(50.90, -35.52, 49.90)
CIE-LCHlch(50.90, 61.25, 125.44°)
OKLaboklab(56.48% -0.1005 0.1096)
OKLCHoklch(56.48% 0.149 132.5)
XYZxyz(12.2883, 19.1791, 3.8134)
Luminance0.1918 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528716 #4B1687
analogous
#878316 #528716 #198716
triadic
#528716 #165287 #871652
tetradic
#528716 #168783 #4B1687 #871619
square
#528716 #168783 #4B1687 #871619
split-complementary
#528716 #161987 #831687
monochromatic
#121E05 #32520D #528716 #72BC1F #91DF39

Accessibility & contrast

On white

4.34
#528716 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#528716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528716
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528716#FFFFFF#000000##000000
##5287161.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#867823
Tritanopia (blue-blind)
#538173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #528716;
/* rgb */ color: rgb(82, 135, 22);
/* oklch */ color: oklch(56.5% 0.149 132.5);
Tailwind
colors: {
  custom: {
    50: '#88aa5f',
    500: '#528716',
    950: '#000000',
  },
}
SCSS
$custom: #528716;
$custom-light: #88aa5f;
$custom-dark: #000000;
JSON
{
  "hex": "#528716",
  "rgb": {
    "r": 82,
    "g": 135,
    "b": 22
  },
  "hsl": {
    "h": 88.142,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56481,
    "c": 0.14872,
    "h": 132.5
  },
  "luminance": 0.1918
}

Semantic roles & 50–950 ramp

primary
#528716
secondary
#793EBB
accent
#39EF8E
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528716

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

Preview Lab → · Contrast checker → · Palette generator →

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