#517518#517518

#517518 is a mid, vivid yellow-green. Relative luminance 0.145; OKLCH L 51.7% C 0.125 H 129.0°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#517518
RGBrgb(81, 117, 24)
HSLhsl(83, 66%, 28%)
HSVhsv(83, 79%, 46%)
CMYKcmyk(30.8%, 0%, 79.5%, 54.1%)
CIE-LABlab(44.99, -27.50, 43.78)
CIE-LCHlch(44.99, 51.70, 122.13°)
OKLaboklab(51.65% -0.0786 0.0971)
OKLCHoklch(51.65% 0.125 129)
XYZxyz(9.9195, 14.5376, 3.1474)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517518 #3C1875
analogous
#756A18 #517518 #227518
triadic
#517518 #185175 #751851
tetradic
#517518 #18756A #3C1875 #751822
square
#517518 #18756A #3C1875 #751822
split-complementary
#517518 #182275 #6A1875
monochromatic
#121905 #2E420E #517518 #74A822 #96D532

Accessibility & contrast

On white

5.37
#517518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#517518 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517518
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517518#FFFFFF#000000##FFFFFF
##5175181.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C02
Deuteranopia (green-blind)
#766A21
Tritanopia (blue-blind)
#546F64
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517518;
/* rgb */ color: rgb(81, 117, 24);
/* oklch */ color: oklch(51.7% 0.125 129.0);
Tailwind
colors: {
  custom: {
    50: '#859d5d',
    500: '#517518',
    950: '#000000',
  },
}
SCSS
$custom: #517518;
$custom-light: #859d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517518",
  "rgb": {
    "r": 81,
    "g": 117,
    "b": 24
  },
  "hsl": {
    "h": 83.226,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51653,
    "c": 0.12494,
    "h": 129
  },
  "luminance": 0.14538
}

Semantic roles & 50–950 ramp

primary
#517518
secondary
#683FAA
accent
#3FE981
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517518

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

Preview Lab → · Contrast checker → · Palette generator →

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