#517514#517514

#517514 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.6% C 0.127 H 128.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#517514
RGBrgb(81, 117, 20)
HSLhsl(82, 71%, 27%)
HSVhsv(82, 83%, 46%)
CMYKcmyk(30.8%, 0%, 82.9%, 54.1%)
CIE-LABlab(44.97, -27.71, 45.10)
CIE-LCHlch(44.97, 52.93, 121.57°)
OKLaboklab(51.63% -0.0795 0.0992)
OKLCHoklch(51.63% 0.127 128.7)
XYZxyz(9.8809, 14.5221, 2.9441)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517514 #381475
analogous
#756914 #517514 #217514
triadic
#517514 #145175 #751451
tetradic
#517514 #147569 #381475 #751421
square
#517514 #147569 #381475 #751421
split-complementary
#517514 #142175 #691475
monochromatic
#121A04 #2D410B #517514 #75A91D #99DA29

Accessibility & contrast

On white

5.38
#517514 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#517514 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517514
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517514#FFFFFF#000000##FFFFFF
##5175141.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#546F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517514;
/* rgb */ color: rgb(81, 117, 20);
/* oklch */ color: oklch(51.6% 0.127 128.7);
Tailwind
colors: {
  custom: {
    50: '#869d5b',
    500: '#517514',
    950: '#000000',
  },
}
SCSS
$custom: #517514;
$custom-light: #869d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517514",
  "rgb": {
    "r": 81,
    "g": 117,
    "b": 20
  },
  "hsl": {
    "h": 82.268,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.12711,
    "h": 128.7
  },
  "luminance": 0.14522
}

Semantic roles & 50–950 ramp

primary
#517514
secondary
#643AAB
accent
#3AEE7D
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517514

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

Preview Lab → · Contrast checker → · Palette generator →

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