#528D15#528D15

#528D15 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.1% C 0.157 H 133.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#528D15
RGBrgb(82, 141, 21)
HSLhsl(90, 74%, 32%)
HSVhsv(90, 85%, 55%)
CMYKcmyk(41.8%, 0%, 85.1%, 44.7%)
CIE-LABlab(52.84, -38.18, 51.92)
CIE-LCHlch(52.84, 64.44, 126.33°)
OKLaboklab(58.07% -0.1077 0.1137)
OKLCHoklch(58.07% 0.157 133.4)
XYZxyz(13.1397, 20.8971, 4.0505)
Luminance0.2090 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#528D15 #50158D
analogous
#8D8C15 #528D15 #168D15
triadic
#528D15 #15528D #8D1552
tetradic
#528D15 #158D8C #50158D #8D1516
square
#528D15 #158D8C #50158D #8D1516
split-complementary
#528D15 #15168D #8C158D
monochromatic
#142205 #33580D #528D15 #71C21D #90E23B

Accessibility & contrast

On white

4.05
#528D15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#528D15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #528D15
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##528D15#FFFFFF#000000##000000
##528D151.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#8B7C24
Tritanopia (blue-blind)
#528778
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #528d15;
/* rgb */ color: rgb(82, 141, 21);
/* oklch */ color: oklch(58.1% 0.157 133.4);
Tailwind
colors: {
  custom: {
    50: '#88af5f',
    500: '#528d15',
    950: '#000000',
  },
}
SCSS
$custom: #528d15;
$custom-light: #88af5f;
$custom-dark: #000000;
JSON
{
  "hex": "#528d15",
  "rgb": {
    "r": 82,
    "g": 141,
    "b": 21
  },
  "hsl": {
    "h": 89.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58069,
    "c": 0.15662,
    "h": 133.4
  },
  "luminance": 0.20898
}

Semantic roles & 50–950 ramp

primary
#528D15
secondary
#7E3DC1
accent
#37F192
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C1005
muted
#7D7F79

Preview Lab

Preview with #528D15

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

Preview Lab → · Contrast checker → · Palette generator →

#528D15 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva