#517110#517110

#517110 is a mid, vivid yellow-green. Relative luminance 0.136; OKLCH L 50.5% C 0.124 H 127.3°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#517110
RGBrgb(81, 113, 16)
HSLhsl(80, 75%, 25%)
HSVhsv(80, 86%, 44%)
CMYKcmyk(28.3%, 0%, 85.8%, 55.7%)
CIE-LABlab(43.65, -25.95, 45.11)
CIE-LCHlch(43.65, 52.04, 119.91°)
OKLaboklab(50.55% -0.075 0.0985)
OKLCHoklch(50.55% 0.124 127.3)
XYZxyz(9.3920, 13.5968, 2.6197)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517110 #301071
analogous
#716010 #517110 #207110
triadic
#517110 #105171 #711051
tetradic
#517110 #107160 #301071 #711020
square
#517110 #107160 #301071 #711020
split-complementary
#517110 #102071 #601071
monochromatic
#131B04 #2B3B08 #517110 #77A718 #9EDC1F

Accessibility & contrast

On white

5.65
#517110 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#517110 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517110
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517110#FFFFFF#000000##FFFFFF
##5171101.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#73671B
Tritanopia (blue-blind)
#546B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517110;
/* rgb */ color: rgb(81, 113, 16);
/* oklch */ color: oklch(50.5% 0.124 127.3);
Tailwind
colors: {
  custom: {
    50: '#859a59',
    500: '#517110',
    950: '#000000',
  },
}
SCSS
$custom: #517110;
$custom-light: #859a59;
$custom-dark: #000000;
JSON
{
  "hex": "#517110",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 16
  },
  "hsl": {
    "h": 79.794,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.12382,
    "h": 127.3
  },
  "luminance": 0.13597
}

Semantic roles & 50–950 ramp

primary
#517110
secondary
#5B34A9
accent
#36F274
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517110

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

Preview Lab → · Contrast checker → · Palette generator →

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