#517A1E#517A1E

#517A1E is a mid, vivid yellow-green. Relative luminance 0.158; OKLCH L 53.0% C 0.128 H 130.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#517A1E
RGBrgb(81, 122, 30)
HSLhsl(87, 61%, 30%)
HSVhsv(87, 75%, 48%)
CMYKcmyk(33.6%, 0%, 75.4%, 52.2%)
CIE-LABlab(46.66, -29.51, 43.18)
CIE-LCHlch(46.66, 52.30, 124.35°)
OKLaboklab(53.02% -0.0836 0.0968)
OKLCHoklch(53.02% 0.128 130.8)
XYZxyz(10.5871, 15.7618, 3.7126)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517A1E #471E7A
analogous
#7A751E #517A1E #237A1E
triadic
#517A1E #1E517A #7A1E51
tetradic
#517A1E #1E7A75 #471E7A #7A1E23
square
#517A1E #1E7A75 #471E7A #7A1E23
split-complementary
#517A1E #1E237A #751E7A
monochromatic
#101906 #304912 #517A1E #72AB2A #91D042

Accessibility & contrast

On white

5.06
#517A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#517A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517A1E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517A1E#FFFFFF#000000##FFFFFF
##517A1E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710D
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#537568
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517a1e;
/* rgb */ color: rgb(81, 122, 30);
/* oklch */ color: oklch(53.0% 0.128 130.8);
Tailwind
colors: {
  custom: {
    50: '#86a061',
    500: '#517a1e',
    950: '#000000',
  },
}
SCSS
$custom: #517a1e;
$custom-light: #86a061;
$custom-dark: #000000;
JSON
{
  "hex": "#517a1e",
  "rgb": {
    "r": 81,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 86.739,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.12794,
    "h": 130.8
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#517A1E
secondary
#7446AE
accent
#44E48B
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #517A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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