#517B14#517B14

#517B14 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.2% C 0.135 H 130.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#517B14
RGBrgb(81, 123, 20)
HSLhsl(84, 72%, 28%)
HSVhsv(84, 84%, 48%)
CMYKcmyk(34.1%, 0%, 83.7%, 51.8%)
CIE-LABlab(46.93, -30.55, 46.88)
CIE-LCHlch(46.93, 55.96, 123.10°)
OKLaboklab(53.22% -0.0872 0.1029)
OKLCHoklch(53.22% 0.135 130.3)
XYZxyz(10.6025, 15.9654, 3.1847)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B14 #3E147B
analogous
#7B7114 #517B14 #1D7B14
triadic
#517B14 #14517B #7B1451
tetradic
#517B14 #147B71 #3E147B #7B141D
square
#517B14 #147B71 #3E147B #7B141D
split-complementary
#517B14 #141D7B #71147B
monochromatic
#111A04 #2E460B #517B14 #74B01D #95DD2D

Accessibility & contrast

On white

5.01
#517B14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#517B14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517B14
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B14#FFFFFF#000000##FFFFFF
##517B141.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#7B6E20
Tritanopia (blue-blind)
#537568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517b14;
/* rgb */ color: rgb(81, 123, 20);
/* oklch */ color: oklch(53.2% 0.135 130.3);
Tailwind
colors: {
  custom: {
    50: '#86a15c',
    500: '#517b14',
    950: '#000000',
  },
}
SCSS
$custom: #517b14;
$custom-light: #86a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#517b14",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 20
  },
  "hsl": {
    "h": 84.466,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.53223,
    "c": 0.1349,
    "h": 130.3
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#517B14
secondary
#6A3AB1
accent
#39EF83
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0F04
muted
#7D7E79

Preview Lab

Preview with #517B14

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

Preview Lab → · Contrast checker → · Palette generator →

#517B14 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva