#517418#517418

#517418 is a mid, vivid yellow-green. Relative luminance 0.143; OKLCH L 51.4% C 0.124 H 128.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#517418
RGBrgb(81, 116, 24)
HSLhsl(83, 66%, 27%)
HSVhsv(83, 79%, 45%)
CMYKcmyk(30.2%, 0%, 79.3%, 54.5%)
CIE-LABlab(44.67, -27.01, 43.47)
CIE-LCHlch(44.67, 51.18, 121.86°)
OKLaboklab(51.39% -0.0773 0.0964)
OKLCHoklch(51.39% 0.124 128.7)
XYZxyz(9.8036, 14.3058, 3.1088)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517418 #3B1874
analogous
#746918 #517418 #237418
triadic
#517418 #185174 #741851
tetradic
#517418 #187469 #3B1874 #741823
square
#517418 #187469 #3B1874 #741823
split-complementary
#517418 #182374 #691874
monochromatic
#121905 #2E410E #517418 #74A722 #97D532

Accessibility & contrast

On white

5.44
#517418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#517418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517418
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517418#FFFFFF#000000##FFFFFF
##5174181.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B03
Deuteranopia (green-blind)
#756921
Tritanopia (blue-blind)
#546F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517418;
/* rgb */ color: rgb(81, 116, 24);
/* oklch */ color: oklch(51.4% 0.124 128.7);
Tailwind
colors: {
  custom: {
    50: '#859c5d',
    500: '#517418',
    950: '#000000',
  },
}
SCSS
$custom: #517418;
$custom-light: #859c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517418",
  "rgb": {
    "r": 81,
    "g": 116,
    "b": 24
  },
  "hsl": {
    "h": 82.826,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.51388,
    "c": 0.12361,
    "h": 128.7
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#517418
secondary
#673FA9
accent
#3FE980
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517418

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

Preview Lab → · Contrast checker → · Palette generator →

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