#527717#527717

#527717 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 52.2% C 0.128 H 129.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#527717
RGBrgb(82, 119, 23)
HSLhsl(83, 68%, 28%)
HSVhsv(83, 81%, 47%)
CMYKcmyk(31.1%, 0%, 80.7%, 53.3%)
CIE-LABlab(45.70, -28.11, 44.81)
CIE-LCHlch(45.70, 52.90, 122.09°)
OKLaboklab(52.24% -0.0804 0.0991)
OKLCHoklch(52.24% 0.128 129.1)
XYZxyz(10.2311, 15.0491, 3.1762)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527717 #3C1777
analogous
#776C17 #527717 #227717
triadic
#527717 #175277 #771752
tetradic
#527717 #17776C #3C1777 #771722
square
#527717 #17776C #3C1777 #771722
split-complementary
#527717 #172277 #6C1777
monochromatic
#121A05 #2F440D #527717 #75AA21 #97D731

Accessibility & contrast

On white

5.24
#527717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#527717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527717
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527717#FFFFFF#000000##FFFFFF
##5277171.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#786B21
Tritanopia (blue-blind)
#557165
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #527717;
/* rgb */ color: rgb(82, 119, 23);
/* oklch */ color: oklch(52.2% 0.128 129.1);
Tailwind
colors: {
  custom: {
    50: '#869e5d',
    500: '#527717',
    950: '#000000',
  },
}
SCSS
$custom: #527717;
$custom-light: #869e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#527717",
  "rgb": {
    "r": 82,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 83.125,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52243,
    "c": 0.12761,
    "h": 129.1
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#527717
secondary
#683EAC
accent
#3DEA80
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #527717

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

Preview Lab → · Contrast checker → · Palette generator →

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