#517511#517511

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

Color values

HEX#517511
RGBrgb(81, 117, 17)
HSLhsl(82, 75%, 26%)
HSVhsv(82, 85%, 46%)
CMYKcmyk(30.8%, 0%, 85.5%, 54.1%)
CIE-LABlab(44.96, -27.85, 45.98)
CIE-LCHlch(44.96, 53.76, 121.20°)
OKLaboklab(51.61% -0.0801 0.1005)
OKLCHoklch(51.61% 0.129 128.5)
XYZxyz(9.8558, 14.5121, 2.8121)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517511 #351175
analogous
#756711 #517511 #1F7511
triadic
#517511 #115175 #751151
tetradic
#517511 #117567 #351175 #75111F
square
#517511 #117567 #351175 #75111F
split-complementary
#517511 #111F75 #671175
monochromatic
#121B04 #2C4009 #517511 #76AA19 #9BDF22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517511#FFFFFF#000000##FFFFFF
##5175111.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)
#766A1D
Tritanopia (blue-blind)
#546F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517511;
/* rgb */ color: rgb(81, 117, 17);
/* oklch */ color: oklch(51.6% 0.129 128.5);
Tailwind
colors: {
  custom: {
    50: '#869d5a',
    500: '#517511',
    950: '#000000',
  },
}
SCSS
$custom: #517511;
$custom-light: #869d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#517511",
  "rgb": {
    "r": 81,
    "g": 117,
    "b": 17
  },
  "hsl": {
    "h": 81.6,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51613,
    "c": 0.12855,
    "h": 128.5
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#517511
secondary
#6036AC
accent
#37F17A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517511

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

Preview Lab → · Contrast checker → · Palette generator →

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