#527D18#527D18

#527D18 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#527D18
RGBrgb(82, 125, 24)
HSLhsl(86, 68%, 29%)
HSVhsv(86, 81%, 49%)
CMYKcmyk(34.4%, 0%, 80.8%, 51%)
CIE-LABlab(47.66, -30.89, 46.31)
CIE-LCHlch(47.66, 55.67, 123.70°)
OKLaboklab(53.84% -0.0879 0.1024)
OKLCHoklch(53.84% 0.135 130.6)
XYZxyz(10.9781, 16.5266, 3.4755)
Luminance0.1653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527D18 #43187D
analogous
#7D7618 #527D18 #1F7D18
triadic
#527D18 #18527D #7D1852
tetradic
#527D18 #187D76 #43187D #7D181F
square
#527D18 #187D76 #43187D #7D181F
split-complementary
#527D18 #181F7D #76187D
monochromatic
#111A05 #304A0E #527D18 #74B022 #94D937

Accessibility & contrast

On white

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

On black

4.31
#527D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##527D18#FFFFFF#000000##FFFFFF
##527D181.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #527d18;
/* rgb */ color: rgb(82, 125, 24);
/* oklch */ color: oklch(53.8% 0.135 130.6);
Tailwind
colors: {
  custom: {
    50: '#87a35e',
    500: '#527d18',
    950: '#000000',
  },
}
SCSS
$custom: #527d18;
$custom-light: #87a35e;
$custom-dark: #000000;
JSON
{
  "hex": "#527d18",
  "rgb": {
    "r": 82,
    "g": 125,
    "b": 24
  },
  "hsl": {
    "h": 85.545,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53839,
    "c": 0.13492,
    "h": 130.6
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#527D18
secondary
#703FB2
accent
#3DEB87
background
#F8FAF5
surface
#F0F3E9
border
#CBCDC5
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527D18

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

Preview Lab → · Contrast checker → · Palette generator →

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