#527F17#527F17

#527F17 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.4% C 0.138 H 131.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#527F17
RGBrgb(82, 127, 23)
HSLhsl(86, 69%, 29%)
HSVhsv(86, 82%, 50%)
CMYKcmyk(35.4%, 0%, 81.9%, 50.2%)
CIE-LABlab(48.30, -31.87, 47.23)
CIE-LCHlch(48.30, 56.98, 124.01°)
OKLaboklab(54.36% -0.0906 0.1042)
OKLCHoklch(54.36% 0.138 131)
XYZxyz(11.2236, 17.0340, 3.5070)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527F17 #44177F
analogous
#7F7817 #527F17 #1E7F17
triadic
#527F17 #17527F #7F1752
tetradic
#527F17 #177F78 #44177F #7F171E
square
#527F17 #177F78 #44177F #7F171E
split-complementary
#527F17 #171E7F #78177F
monochromatic
#111A05 #314B0E #527F17 #73B320 #93DB36

Accessibility & contrast

On white

4.77
#527F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#527F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527F17
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527F17#FFFFFF#000000##FFFFFF
##527F171.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#54796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #527f17;
/* rgb */ color: rgb(82, 127, 23);
/* oklch */ color: oklch(54.4% 0.138 131.0);
Tailwind
colors: {
  custom: {
    50: '#87a45e',
    500: '#527f17',
    950: '#000000',
  },
}
SCSS
$custom: #527f17;
$custom-light: #87a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#527f17",
  "rgb": {
    "r": 82,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 85.962,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.13804,
    "h": 131
  },
  "luminance": 0.17034
}

Semantic roles & 50–950 ramp

primary
#527F17
secondary
#713EB4
accent
#3CEC88
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527F17

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

Preview Lab → · Contrast checker → · Palette generator →

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