#527917#527917

#527917 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.8% C 0.130 H 129.6°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#527917
RGBrgb(82, 121, 23)
HSLhsl(84, 68%, 28%)
HSVhsv(84, 81%, 47%)
CMYKcmyk(32.2%, 0%, 81%, 52.5%)
CIE-LABlab(46.35, -29.06, 45.42)
CIE-LCHlch(46.35, 53.92, 122.61°)
OKLaboklab(52.77% -0.083 0.1003)
OKLCHoklch(52.77% 0.13 129.6)
XYZxyz(10.4717, 15.5301, 3.2563)
Luminance0.1553 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527917 #3E1779
analogous
#796F17 #527917 #217917
triadic
#527917 #175279 #791752
tetradic
#527917 #17796F #3E1779 #791721
square
#527917 #17796F #3E1779 #791721
split-complementary
#527917 #172179 #6F1779
monochromatic
#111A05 #2F460D #527917 #75AC21 #96D832

Accessibility & contrast

On white

5.11
#527917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#527917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527917
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527917#FFFFFF#000000##FFFFFF
##5279171.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#547367
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #527917;
/* rgb */ color: rgb(82, 121, 23);
/* oklch */ color: oklch(52.8% 0.130 129.6);
Tailwind
colors: {
  custom: {
    50: '#86a05d',
    500: '#527917',
    950: '#000000',
  },
}
SCSS
$custom: #527917;
$custom-light: #86a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#527917",
  "rgb": {
    "r": 82,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 83.878,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52773,
    "c": 0.13023,
    "h": 129.6
  },
  "luminance": 0.1553
}

Semantic roles & 50–950 ramp

primary
#527917
secondary
#6A3EAE
accent
#3DEB82
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #527917

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

Preview Lab → · Contrast checker → · Palette generator →

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