#527D17#527D17

#527D17 is a mid, vivid yellow-green. Relative luminance 0.165; OKLCH L 53.8% C 0.135 H 130.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#527D17
RGBrgb(82, 125, 23)
HSLhsl(85, 69%, 29%)
HSVhsv(85, 82%, 49%)
CMYKcmyk(34.4%, 0%, 81.6%, 51%)
CIE-LABlab(47.65, -30.94, 46.63)
CIE-LCHlch(47.65, 55.96, 123.56°)
OKLaboklab(53.83% -0.0881 0.1029)
OKLCHoklch(53.83% 0.135 130.6)
XYZxyz(10.9679, 16.5225, 3.4217)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527D17 #42177D
analogous
#7D7517 #527D17 #1F7D17
triadic
#527D17 #17527D #7D1752
tetradic
#527D17 #177D75 #42177D #7D171F
square
#527D17 #177D75 #42177D #7D171F
split-complementary
#527D17 #171F7D #75177D
monochromatic
#111A05 #30490D #527D17 #74B121 #94DA35

Accessibility & contrast

On white

4.88
#527D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#527D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527D17
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527D17#FFFFFF#000000##FFFFFF
##527D171.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7D7022
Tritanopia (blue-blind)
#54776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #527d17;
/* rgb */ color: rgb(82, 125, 23);
/* oklch */ color: oklch(53.8% 0.135 130.6);
Tailwind
colors: {
  custom: {
    50: '#87a35e',
    500: '#527d17',
    950: '#000000',
  },
}
SCSS
$custom: #527d17;
$custom-light: #87a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#527d17",
  "rgb": {
    "r": 82,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 85.294,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.13545,
    "h": 130.6
  },
  "luminance": 0.16523
}

Semantic roles & 50–950 ramp

primary
#527D17
secondary
#6F3EB2
accent
#3CEC86
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527D17

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

Preview Lab → · Contrast checker → · Palette generator →

#527D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva