#517214#517214

#517214 is a mid, vivid yellow-green. Relative luminance 0.138; OKLCH L 50.8% C 0.123 H 127.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#517214
RGBrgb(81, 114, 20)
HSLhsl(81, 70%, 26%)
HSVhsv(81, 82%, 45%)
CMYKcmyk(28.9%, 0%, 82.5%, 55.3%)
CIE-LABlab(43.99, -26.25, 44.20)
CIE-LCHlch(43.99, 51.41, 120.71°)
OKLaboklab(50.83% -0.0756 0.0973)
OKLCHoklch(50.83% 0.123 127.8)
XYZxyz(9.5369, 13.8342, 2.8295)
Luminance0.1383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517214 #351472
analogous
#726414 #517214 #227214
triadic
#517214 #145172 #721451
tetradic
#517214 #147264 #351472 #721422
square
#517214 #147264 #351472 #721422
split-complementary
#517214 #142272 #641472
monochromatic
#121A05 #2C3E0B #517214 #76A61D #9BD927

Accessibility & contrast

On white

5.58
#517214 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#517214 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517214
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517214#FFFFFF#000000##FFFFFF
##5172141.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#74671E
Tritanopia (blue-blind)
#546C61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #517214;
/* rgb */ color: rgb(81, 114, 20);
/* oklch */ color: oklch(50.8% 0.123 127.8);
Tailwind
colors: {
  custom: {
    50: '#859a5b',
    500: '#517214',
    950: '#000000',
  },
}
SCSS
$custom: #517214;
$custom-light: #859a5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517214",
  "rgb": {
    "r": 81,
    "g": 114,
    "b": 20
  },
  "hsl": {
    "h": 81.064,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.50833,
    "c": 0.12318,
    "h": 127.8
  },
  "luminance": 0.13834
}

Semantic roles & 50–950 ramp

primary
#517214
secondary
#6039A8
accent
#3BED79
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517214

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

Preview Lab → · Contrast checker → · Palette generator →

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