#517114#517114

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

Color values

HEX#517114
RGBrgb(81, 113, 20)
HSLhsl(81, 70%, 26%)
HSVhsv(81, 82%, 44%)
CMYKcmyk(28.3%, 0%, 82.3%, 55.7%)
CIE-LABlab(43.67, -25.76, 43.90)
CIE-LCHlch(43.67, 50.90, 120.41°)
OKLaboklab(50.57% -0.0742 0.0966)
OKLCHoklch(50.57% 0.122 127.5)
XYZxyz(9.4248, 13.6099, 2.7921)
Luminance0.1361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517114 #341471
analogous
#716214 #517114 #227114
triadic
#517114 #145171 #711451
tetradic
#517114 #147162 #341471 #711422
square
#517114 #147162 #341471 #711422
split-complementary
#517114 #142271 #621471
monochromatic
#131A05 #2C3D0B #517114 #76A51D #9BD927

Accessibility & contrast

On white

5.64
#517114 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #517114
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517114#FFFFFF#000000##FFFFFF
##5171141.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #517114;
/* rgb */ color: rgb(81, 113, 20);
/* oklch */ color: oklch(50.6% 0.122 127.5);
Tailwind
colors: {
  custom: {
    50: '#859a5b',
    500: '#517114',
    950: '#000000',
  },
}
SCSS
$custom: #517114;
$custom-light: #859a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517114",
  "rgb": {
    "r": 81,
    "g": 113,
    "b": 20
  },
  "hsl": {
    "h": 80.645,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.50568,
    "c": 0.12187,
    "h": 127.5
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#517114
secondary
#5F39A7
accent
#3BED78
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517114

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

Preview Lab → · Contrast checker → · Palette generator →

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