#527F16#527F16

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

Color values

HEX#527F16
RGBrgb(82, 127, 22)
HSLhsl(86, 70%, 29%)
HSVhsv(86, 83%, 50%)
CMYKcmyk(35.4%, 0%, 82.7%, 50.2%)
CIE-LABlab(48.30, -31.92, 47.54)
CIE-LCHlch(48.30, 57.26, 123.88°)
OKLaboklab(54.36% -0.0908 0.1046)
OKLCHoklch(54.36% 0.139 131)
XYZxyz(11.2138, 17.0301, 3.4552)
Luminance0.1703 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527F16 #43167F
analogous
#7F7816 #527F16 #1E7F16
triadic
#527F16 #16527F #7F1652
tetradic
#527F16 #167F78 #43167F #7F161E
square
#527F16 #167F78 #43167F #7F161E
split-complementary
#527F16 #161E7F #78167F
monochromatic
#111A05 #304B0D #527F16 #74B31F #94DC34

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##527F16#FFFFFF#000000##FFFFFF
##527F161.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)
#7F7222
Tritanopia (blue-blind)
#54796C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #527f16;
/* rgb */ color: rgb(82, 127, 22);
/* oklch */ color: oklch(54.4% 0.139 131.0);
Tailwind
colors: {
  custom: {
    50: '#87a45e',
    500: '#527f16',
    950: '#000000',
  },
}
SCSS
$custom: #527f16;
$custom-light: #87a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#527f16",
  "rgb": {
    "r": 82,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 85.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54358,
    "c": 0.13854,
    "h": 131
  },
  "luminance": 0.17031
}

Semantic roles & 50–950 ramp

primary
#527F16
secondary
#703DB4
accent
#3BED87
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527F16

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

Preview Lab → · Contrast checker → · Palette generator →

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