#517612#517612

#517612 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.9% C 0.129 H 128.9°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#517612
RGBrgb(81, 118, 18)
HSLhsl(82, 74%, 27%)
HSVhsv(82, 85%, 46%)
CMYKcmyk(31.4%, 0%, 84.7%, 53.7%)
CIE-LABlab(45.29, -28.29, 45.99)
CIE-LCHlch(45.29, 53.99, 121.59°)
OKLaboklab(51.88% -0.0812 0.1007)
OKLCHoklch(51.88% 0.129 128.9)
XYZxyz(9.9809, 14.7496, 2.8932)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517612 #371276
analogous
#766912 #517612 #1F7612
triadic
#517612 #125176 #761251
tetradic
#517612 #127669 #371276 #76121F
square
#517612 #127669 #371276 #76121F
split-complementary
#517612 #121F76 #691276
monochromatic
#121B04 #2D410A #517612 #75AB1A #99DE25

Accessibility & contrast

On white

5.32
#517612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#517612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #517612
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##517612#FFFFFF#000000##FFFFFF
##5176121.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#776A1E
Tritanopia (blue-blind)
#547064
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #517612;
/* rgb */ color: rgb(81, 118, 18);
/* oklch */ color: oklch(51.9% 0.129 128.9);
Tailwind
colors: {
  custom: {
    50: '#869d5b',
    500: '#517612',
    950: '#000000',
  },
}
SCSS
$custom: #517612;
$custom-light: #869d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#517612",
  "rgb": {
    "r": 81,
    "g": 118,
    "b": 18
  },
  "hsl": {
    "h": 82.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.51884,
    "c": 0.12938,
    "h": 128.9
  },
  "luminance": 0.1475
}

Semantic roles & 50–950 ramp

primary
#517612
secondary
#6337AD
accent
#38F07C
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517612

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

Preview Lab → · Contrast checker → · Palette generator →

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