#527D1A#527D1A

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

Color values

HEX#527D1A
RGBrgb(82, 125, 26)
HSLhsl(86, 66%, 30%)
HSVhsv(86, 79%, 49%)
CMYKcmyk(34.4%, 0%, 79.2%, 51%)
CIE-LABlab(47.67, -30.78, 45.65)
CIE-LCHlch(47.67, 55.05, 123.99°)
OKLaboklab(53.85% -0.0874 0.1013)
OKLCHoklch(53.85% 0.134 130.8)
XYZxyz(10.9997, 16.5353, 3.5892)
Luminance0.1654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527D1A #451A7D
analogous
#7D771A #527D1A #207D1A
triadic
#527D1A #1A527D #7D1A52
tetradic
#527D1A #1A7D77 #451A7D #7D1A20
square
#527D1A #1A7D77 #451A7D #7D1A20
split-complementary
#527D1A #1A207D #771A7D
monochromatic
#111905 #314A0F #527D1A #73B025 #93D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##527D1A#FFFFFF#000000##FFFFFF
##527D1A1.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)
#837302
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#54776A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #527d1a;
/* rgb */ color: rgb(82, 125, 26);
/* oklch */ color: oklch(53.9% 0.134 130.8);
Tailwind
colors: {
  custom: {
    50: '#87a35f',
    500: '#527d1a',
    950: '#000000',
  },
}
SCSS
$custom: #527d1a;
$custom-light: #87a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#527d1a",
  "rgb": {
    "r": 82,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 86.061,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.53852,
    "c": 0.13383,
    "h": 130.8
  },
  "luminance": 0.16536
}

Semantic roles & 50–950 ramp

primary
#527D1A
secondary
#7242B1
accent
#3FE989
background
#F8FAF5
surface
#F0F3EA
border
#CBCDC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #527D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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