#527417#527417

#527417 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.124 H 128.2°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#527417
RGBrgb(82, 116, 23)
HSLhsl(82, 67%, 27%)
HSVhsv(82, 80%, 45%)
CMYKcmyk(29.3%, 0%, 80.2%, 54.5%)
CIE-LABlab(44.73, -26.66, 43.90)
CIE-LCHlch(44.73, 51.36, 121.27°)
OKLaboklab(51.45% -0.0765 0.0971)
OKLCHoklch(51.45% 0.124 128.2)
XYZxyz(9.8797, 14.3462, 3.0590)
Luminance0.1435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#527417 #391774
analogous
#746717 #527417 #247417
triadic
#527417 #175274 #741752
tetradic
#527417 #177467 #391774 #741724
square
#527417 #177467 #391774 #741724
split-complementary
#527417 #172474 #671774
monochromatic
#121A05 #2E410D #527417 #76A721 #99D630

Accessibility & contrast

On white

5.43
#527417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#527417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #527417
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##527417#FFFFFF#000000##FFFFFF
##5274171.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B01
Deuteranopia (green-blind)
#756920
Tritanopia (blue-blind)
#556E63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #527417;
/* rgb */ color: rgb(82, 116, 23);
/* oklch */ color: oklch(51.4% 0.124 128.2);
Tailwind
colors: {
  custom: {
    50: '#869c5c',
    500: '#527417',
    950: '#000000',
  },
}
SCSS
$custom: #527417;
$custom-light: #869c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#527417",
  "rgb": {
    "r": 82,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 81.935,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51449,
    "c": 0.12364,
    "h": 128.2
  },
  "luminance": 0.14346
}

Semantic roles & 50–950 ramp

primary
#527417
secondary
#653DA9
accent
#3EEA7D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #527417

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

Preview Lab → · Contrast checker → · Palette generator →

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