#527D22#527D22

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

Color values

HEX#527D22
RGBrgb(82, 125, 34)
HSLhsl(88, 57%, 31%)
HSVhsv(88, 73%, 49%)
CMYKcmyk(34.4%, 0%, 72.8%, 51%)
CIE-LABlab(47.72, -30.25, 42.68)
CIE-LCHlch(47.72, 52.31, 125.33°)
OKLaboklab(53.91% -0.0854 0.0964)
OKLCHoklch(53.91% 0.129 131.5)
XYZxyz(11.1019, 16.5762, 4.1276)
Luminance0.1658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527D22 #4D227D
analogous
#7D7A22 #527D22 #247D22
triadic
#527D22 #22527D #7D2252
tetradic
#527D22 #227D7A #4D227D #7D2224
square
#527D22 #227D7A #4D227D #7D2224
split-complementary
#527D22 #22247D #7A227D
monochromatic
#131D08 #324D15 #527D22 #72AD2F #90CE4B

Accessibility & contrast

On white

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

On black

4.32
#527D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##527D22#FFFFFF#000000##FFFFFF
##527D221.004.874.324.87
#FFFFFF4.871.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837313
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#53786B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #527d22;
/* rgb */ color: rgb(82, 125, 34);
/* oklch */ color: oklch(53.9% 0.129 131.5);
Tailwind
colors: {
  custom: {
    50: '#86a363',
    500: '#527d22',
    950: '#000000',
  },
}
SCSS
$custom: #527d22;
$custom-light: #86a363;
$custom-dark: #000000;
JSON
{
  "hex": "#527d22",
  "rgb": {
    "r": 82,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 88.352,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53911,
    "c": 0.12875,
    "h": 131.5
  },
  "luminance": 0.16577
}

Semantic roles & 50–950 ramp

primary
#527D22
secondary
#7B4BB0
accent
#47E090
background
#F8FAF6
surface
#F0F3EB
border
#CBCDC6
text
#0B0F06
muted
#7C7F7A

Preview Lab

Preview with #527D22

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

Preview Lab → · Contrast checker → · Palette generator →

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