#527D1F#527D1F

#527D1F is a mid, vivid yellow-green. Relative luminance 0.166; OKLCH L 53.9% C 0.131 H 131.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#527D1F
RGBrgb(82, 125, 31)
HSLhsl(87, 60%, 31%)
HSVhsv(87, 75%, 49%)
CMYKcmyk(34.4%, 0%, 75.2%, 51%)
CIE-LABlab(47.70, -30.46, 43.85)
CIE-LCHlch(47.70, 53.39, 124.79°)
OKLaboklab(53.89% -0.0862 0.0984)
OKLCHoklch(53.89% 0.131 131.2)
XYZxyz(11.0605, 16.5596, 3.9096)
Luminance0.1656 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527D1F #4A1F7D
analogous
#7D791F #527D1F #237D1F
triadic
#527D1F #1F527D #7D1F52
tetradic
#527D1F #1F7D79 #4A1F7D #7D1F23
square
#527D1F #1F7D79 #4A1F7D #7D1F23
split-complementary
#527D1F #1F237D #791F7D
monochromatic
#121B07 #324C13 #527D1F #72AE2B #91D145

Accessibility & contrast

On white

4.87
#527D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #527D1F
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527D1F#FFFFFF#000000##FFFFFF
##527D1F1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730E
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#54786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #527d1f;
/* rgb */ color: rgb(82, 125, 31);
/* oklch */ color: oklch(53.9% 0.131 131.2);
Tailwind
colors: {
  custom: {
    50: '#86a362',
    500: '#527d1f',
    950: '#000000',
  },
}
SCSS
$custom: #527d1f;
$custom-light: #86a362;
$custom-dark: #000000;
JSON
{
  "hex": "#527d1f",
  "rgb": {
    "r": 82,
    "g": 125,
    "b": 31
  },
  "hsl": {
    "h": 87.447,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.13078,
    "h": 131.2
  },
  "luminance": 0.1656
}

Semantic roles & 50–950 ramp

primary
#527D1F
secondary
#7748B0
accent
#44E38D
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #527D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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