#527D16#527D16

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

Color values

HEX#527D16
RGBrgb(82, 125, 22)
HSLhsl(85, 70%, 29%)
HSVhsv(85, 82%, 49%)
CMYKcmyk(34.4%, 0%, 82.4%, 51%)
CIE-LABlab(47.65, -30.99, 46.94)
CIE-LCHlch(47.65, 56.25, 123.43°)
OKLaboklab(53.83% -0.0883 0.1034)
OKLCHoklch(53.83% 0.136 130.5)
XYZxyz(10.9580, 16.5186, 3.3700)
Luminance0.1652 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527D16 #41167D
analogous
#7D7516 #527D16 #1E7D16
triadic
#527D16 #16527D #7D1652
tetradic
#527D16 #167D75 #41167D #7D161E
square
#527D16 #167D75 #41167D #7D161E
split-complementary
#527D16 #161E7D #75167D
monochromatic
#111A05 #30490D #527D16 #74B11F #95DB32

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##527D16#FFFFFF#000000##FFFFFF
##527D161.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)
#7D7021
Tritanopia (blue-blind)
#54776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #527d16;
/* rgb */ color: rgb(82, 125, 22);
/* oklch */ color: oklch(53.8% 0.136 130.5);
Tailwind
colors: {
  custom: {
    50: '#87a35d',
    500: '#527d16',
    950: '#000000',
  },
}
SCSS
$custom: #527d16;
$custom-light: #87a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#527d16",
  "rgb": {
    "r": 82,
    "g": 125,
    "b": 22
  },
  "hsl": {
    "h": 85.049,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53828,
    "c": 0.13596,
    "h": 130.5
  },
  "luminance": 0.16519
}

Semantic roles & 50–950 ramp

primary
#527D16
secondary
#6E3DB2
accent
#3BED85
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527D16

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

Preview Lab → · Contrast checker → · Palette generator →

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