#517B1E#517B1E

#517B1E is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.3% C 0.129 H 131.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#517B1E
RGBrgb(81, 123, 30)
HSLhsl(87, 61%, 30%)
HSVhsv(87, 76%, 48%)
CMYKcmyk(34.1%, 0%, 75.6%, 51.8%)
CIE-LABlab(46.99, -29.98, 43.50)
CIE-LCHlch(46.99, 52.84, 124.58°)
OKLaboklab(53.29% -0.0849 0.0975)
OKLCHoklch(53.29% 0.129 131.1)
XYZxyz(10.7106, 16.0086, 3.7537)
Luminance0.1601 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517B1E #481E7B
analogous
#7B771E #517B1E #227B1E
triadic
#517B1E #1E517B #7B1E51
tetradic
#517B1E #1E7B77 #481E7B #7B1E22
square
#517B1E #1E7B77 #481E7B #7B1E22
split-complementary
#517B1E #1E227B #771E7B
monochromatic
#101906 #314A12 #517B1E #71AC2A #91D142

Accessibility & contrast

On white

5.00
#517B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#517B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517B1E
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517B1E#FFFFFF#000000##FFFFFF
##517B1E1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81710C
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#537669
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #517b1e;
/* rgb */ color: rgb(81, 123, 30);
/* oklch */ color: oklch(53.3% 0.129 131.1);
Tailwind
colors: {
  custom: {
    50: '#86a161',
    500: '#517b1e',
    950: '#000000',
  },
}
SCSS
$custom: #517b1e;
$custom-light: #86a161;
$custom-dark: #000000;
JSON
{
  "hex": "#517b1e",
  "rgb": {
    "r": 81,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 87.097,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.53287,
    "c": 0.12929,
    "h": 131.1
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#517B1E
secondary
#7546AE
accent
#44E48C
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0B0F05
muted
#7C7E79

Preview Lab

Preview with #517B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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