#527217#527217

#527217 is a mid, vivid yellow-green. Relative luminance 0.139; OKLCH L 50.9% C 0.121 H 127.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#527217
RGBrgb(82, 114, 23)
HSLhsl(81, 66%, 27%)
HSVhsv(81, 80%, 45%)
CMYKcmyk(28.1%, 0%, 79.8%, 55.3%)
CIE-LABlab(44.07, -25.67, 43.29)
CIE-LCHlch(44.07, 50.33, 120.67°)
OKLaboklab(50.92% -0.0738 0.0958)
OKLCHoklch(50.92% 0.121 127.6)
XYZxyz(9.6517, 13.8901, 2.9830)
Luminance0.1389 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527217 #371772
analogous
#726517 #527217 #257217
triadic
#527217 #175272 #721752
tetradic
#527217 #177265 #371772 #721725
square
#527217 #177265 #371772 #721725
split-complementary
#527217 #172572 #651772
monochromatic
#121905 #2D3F0D #527217 #77A521 #9AD52E

Accessibility & contrast

On white

5.56
#527217 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#527217 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527217
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527217#FFFFFF#000000##FFFFFF
##5272171.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A02
Deuteranopia (green-blind)
#746820
Tritanopia (blue-blind)
#556C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #527217;
/* rgb */ color: rgb(82, 114, 23);
/* oklch */ color: oklch(50.9% 0.121 127.6);
Tailwind
colors: {
  custom: {
    50: '#869a5c',
    500: '#527217',
    950: '#000000',
  },
}
SCSS
$custom: #527217;
$custom-light: #869a5c;
$custom-dark: #000000;
JSON
{
  "hex": "#527217",
  "rgb": {
    "r": 82,
    "g": 114,
    "b": 23
  },
  "hsl": {
    "h": 81.099,
    "s": 66.423,
    "l": 26.863
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.12099,
    "h": 127.6
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#527217
secondary
#633DA8
accent
#3EE97B
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527217

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

Preview Lab → · Contrast checker → · Palette generator →

#527217 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva