#517318#517318

#517318 is a mid, vivid yellow-green. Relative luminance 0.141; OKLCH L 51.1% C 0.122 H 128.4°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#517318
RGBrgb(81, 115, 24)
HSLhsl(82, 65%, 27%)
HSVhsv(82, 79%, 45%)
CMYKcmyk(29.6%, 0%, 79.1%, 54.9%)
CIE-LABlab(44.34, -26.53, 43.16)
CIE-LCHlch(44.34, 50.66, 121.57°)
OKLaboklab(51.12% -0.076 0.0958)
OKLCHoklch(51.12% 0.122 128.4)
XYZxyz(9.6889, 14.0765, 3.0705)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517318 #3A1873
analogous
#736818 #517318 #237318
triadic
#517318 #185173 #731851
tetradic
#517318 #187368 #3A1873 #731823
square
#517318 #187368 #3A1873 #731823
split-complementary
#517318 #182373 #681873
monochromatic
#121905 #2D400D #517318 #75A623 #97D431

Accessibility & contrast

On white

5.50
#517318 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#517318 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517318
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517318#FFFFFF#000000##FFFFFF
##5173181.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A03
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#546E62
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #517318;
/* rgb */ color: rgb(81, 115, 24);
/* oklch */ color: oklch(51.1% 0.122 128.4);
Tailwind
colors: {
  custom: {
    50: '#859b5d',
    500: '#517318',
    950: '#000000',
  },
}
SCSS
$custom: #517318;
$custom-light: #859b5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517318",
  "rgb": {
    "r": 81,
    "g": 115,
    "b": 24
  },
  "hsl": {
    "h": 82.418,
    "s": 65.468,
    "l": 27.255
  },
  "oklch": {
    "l": 0.51123,
    "c": 0.12228,
    "h": 128.4
  },
  "luminance": 0.14077
}

Semantic roles & 50–950 ramp

primary
#517318
secondary
#663FA8
accent
#3FE87F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517318

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

Preview Lab → · Contrast checker → · Palette generator →

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