#517513#517513

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

Color values

HEX#517513
RGBrgb(81, 117, 19)
HSLhsl(82, 72%, 27%)
HSVhsv(82, 84%, 46%)
CMYKcmyk(30.8%, 0%, 83.8%, 54.1%)
CIE-LABlab(44.97, -27.76, 45.40)
CIE-LCHlch(44.97, 53.22, 121.44°)
OKLaboklab(51.62% -0.0797 0.0996)
OKLCHoklch(51.62% 0.128 128.7)
XYZxyz(9.8722, 14.5187, 2.8982)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517513 #371375
analogous
#756813 #517513 #207513
triadic
#517513 #135175 #751351
tetradic
#517513 #137568 #371375 #751320
square
#517513 #137568 #371375 #751320
split-complementary
#517513 #132075 #681375
monochromatic
#121A04 #2D400A #517513 #75AA1C #99DC27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #517513;
/* rgb */ color: rgb(81, 117, 19);
/* oklch */ color: oklch(51.6% 0.128 128.7);
Tailwind
colors: {
  custom: {
    50: '#869d5b',
    500: '#517513',
    950: '#000000',
  },
}
SCSS
$custom: #517513;
$custom-light: #869d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517513",
  "rgb": {
    "r": 81,
    "g": 117,
    "b": 19
  },
  "hsl": {
    "h": 82.041,
    "s": 72.059,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51623,
    "c": 0.12761,
    "h": 128.7
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#517513
secondary
#6338AB
accent
#39EF7C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517513

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

Preview Lab → · Contrast checker → · Palette generator →

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