#517111#517111

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

Color values

HEX#517111
RGBrgb(81, 113, 17)
HSLhsl(80, 74%, 25%)
HSVhsv(80, 85%, 44%)
CMYKcmyk(28.3%, 0%, 85%, 55.7%)
CIE-LABlab(43.65, -25.91, 44.82)
CIE-LCHlch(43.65, 51.77, 120.03°)
OKLaboklab(50.55% -0.0748 0.0981)
OKLCHoklch(50.55% 0.123 127.4)
XYZxyz(9.3997, 13.5999, 2.6600)
Luminance0.1360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517111 #311171
analogous
#716111 #517111 #217111
triadic
#517111 #115171 #711151
tetradic
#517111 #117161 #311171 #711121
square
#517111 #117161 #311171 #711121
split-complementary
#517111 #112171 #611171
monochromatic
#131B04 #2B3C09 #517111 #77A619 #9DDB21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517111#FFFFFF#000000##FFFFFF
##5171111.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)
#73671C
Tritanopia (blue-blind)
#546B60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #517111;
/* rgb */ color: rgb(81, 113, 17);
/* oklch */ color: oklch(50.6% 0.123 127.4);
Tailwind
colors: {
  custom: {
    50: '#859a59',
    500: '#517111',
    950: '#000000',
  },
}
SCSS
$custom: #517111;
$custom-light: #859a59;
$custom-dark: #000000;
JSON
{
  "hex": "#517111",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 17
  },
  "hsl": {
    "h": 80,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.50552,
    "c": 0.12336,
    "h": 127.4
  },
  "luminance": 0.136
}

Semantic roles & 50–950 ramp

primary
#517111
secondary
#5C36A8
accent
#37F175
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517111

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

Preview Lab → · Contrast checker → · Palette generator →

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