#527E15#527E15

#527E15 is a mid, vivid yellow-green. Relative luminance 0.168; OKLCH L 54.1% C 0.138 H 130.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#527E15
RGBrgb(82, 126, 21)
HSLhsl(85, 71%, 29%)
HSVhsv(85, 83%, 49%)
CMYKcmyk(34.9%, 0%, 83.3%, 50.6%)
CIE-LABlab(47.97, -31.50, 47.54)
CIE-LCHlch(47.97, 57.03, 123.53°)
OKLaboklab(54.09% -0.0898 0.1045)
OKLCHoklch(54.09% 0.138 130.7)
XYZxyz(11.0758, 16.7693, 3.3626)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527E15 #41157E
analogous
#7E7615 #527E15 #1D7E15
triadic
#527E15 #15527E #7E1552
tetradic
#527E15 #157E76 #41157E #7E151D
square
#527E15 #157E76 #41157E #7E151D
split-complementary
#527E15 #151D7E #76157E
monochromatic
#111A04 #304A0C #527E15 #74B21E #95DD31

Accessibility & contrast

On white

4.82
#527E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#527E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527E15
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527E15#FFFFFF#000000##FFFFFF
##527E151.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7E7121
Tritanopia (blue-blind)
#54786B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #527e15;
/* rgb */ color: rgb(82, 126, 21);
/* oklch */ color: oklch(54.1% 0.138 130.7);
Tailwind
colors: {
  custom: {
    50: '#87a35d',
    500: '#527e15',
    950: '#000000',
  },
}
SCSS
$custom: #527e15;
$custom-light: #87a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#527e15",
  "rgb": {
    "r": 82,
    "g": 126,
    "b": 21
  },
  "hsl": {
    "h": 85.143,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.54087,
    "c": 0.13773,
    "h": 130.7
  },
  "luminance": 0.1677
}

Semantic roles & 50–950 ramp

primary
#527E15
secondary
#6E3CB3
accent
#3AEE85
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527E15

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

Preview Lab → · Contrast checker → · Palette generator →

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