#517332#517332

#517332 is a mid, moderate yellow-green. Relative luminance 0.142; OKLCH L 51.4% C 0.101 H 132.0°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#517332
RGBrgb(81, 115, 50)
HSLhsl(91, 39%, 32%)
HSVhsv(91, 57%, 45%)
CMYKcmyk(29.6%, 0%, 56.5%, 54.9%)
CIE-LABlab(44.58, -24.28, 31.72)
CIE-LCHlch(44.58, 39.95, 127.43°)
OKLaboklab(51.39% -0.0675 0.0751)
OKLCHoklch(51.39% 0.101 132)
XYZxyz(10.0997, 14.2408, 5.2336)
Luminance0.1424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517332 #543273
analogous
#717332 #517332 #327334
triadic
#517332 #325173 #733251
tetradic
#517332 #327173 #543273 #733432
square
#517332 #327173 #543273 #733432
split-complementary
#517332 #343273 #733271
monochromatic
#151E0D #33481F #517332 #6F9E45 #8EBC64

Accessibility & contrast

On white

5.46
#517332 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#517332 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517332
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517332#FFFFFF#000000##FFFFFF
##5173321.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B2C
Deuteranopia (green-blind)
#736936
Tritanopia (blue-blind)
#526F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #517332;
/* rgb */ color: rgb(81, 115, 50);
/* oklch */ color: oklch(51.4% 0.101 132.0);
Tailwind
colors: {
  custom: {
    50: '#849b6c',
    500: '#517332',
    950: '#000000',
  },
}
SCSS
$custom: #517332;
$custom-light: #849b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#517332",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 50
  },
  "hsl": {
    "h": 91.385,
    "s": 39.394,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.10099,
    "h": 132
  },
  "luminance": 0.14241
}

Semantic roles & 50–950 ramp

primary
#517332
secondary
#825DA3
accent
#59CF97
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0E07
muted
#7C7E7A

Preview Lab

Preview with #517332

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

Preview Lab → · Contrast checker → · Palette generator →

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