#527517#527517

#527517 is a mid, vivid yellow-green. Relative luminance 0.146; OKLCH L 51.7% C 0.125 H 128.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#527517
RGBrgb(82, 117, 23)
HSLhsl(82, 67%, 27%)
HSVhsv(82, 80%, 46%)
CMYKcmyk(29.9%, 0%, 80.3%, 54.1%)
CIE-LABlab(45.05, -27.14, 44.20)
CIE-LCHlch(45.05, 51.87, 121.55°)
OKLaboklab(51.71% -0.0778 0.0978)
OKLCHoklch(51.71% 0.125 128.5)
XYZxyz(9.9956, 14.5780, 3.0977)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527517 #3A1775
analogous
#756917 #527517 #237517
triadic
#527517 #175275 #751752
tetradic
#527517 #177569 #3A1775 #751723
square
#527517 #177569 #3A1775 #751723
split-complementary
#527517 #172375 #691775
monochromatic
#121A05 #2E420D #527517 #76A821 #98D630

Accessibility & contrast

On white

5.36
#527517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#527517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527517
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527517#FFFFFF#000000##FFFFFF
##5275171.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#556F63
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #527517;
/* rgb */ color: rgb(82, 117, 23);
/* oklch */ color: oklch(51.7% 0.125 128.5);
Tailwind
colors: {
  custom: {
    50: '#869d5d',
    500: '#527517',
    950: '#000000',
  },
}
SCSS
$custom: #527517;
$custom-light: #869d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#527517",
  "rgb": {
    "r": 82,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 82.34,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51714,
    "c": 0.12497,
    "h": 128.5
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#527517
secondary
#663DAA
accent
#3EEA7E
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527517

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

Preview Lab → · Contrast checker → · Palette generator →

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