#517412#517412

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

Color values

HEX#517412
RGBrgb(81, 116, 18)
HSLhsl(81, 73%, 26%)
HSVhsv(81, 84%, 45%)
CMYKcmyk(30.2%, 0%, 84.5%, 54.5%)
CIE-LABlab(44.64, -27.32, 45.40)
CIE-LCHlch(44.64, 52.99, 121.04°)
OKLaboklab(51.35% -0.0786 0.0995)
OKLCHoklch(51.35% 0.127 128.3)
XYZxyz(9.7479, 14.2835, 2.8156)
Luminance0.1428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517412 #351274
analogous
#746612 #517412 #207412
triadic
#517412 #125174 #741251
tetradic
#517412 #127466 #351274 #741220
square
#517412 #127466 #351274 #741220
split-complementary
#517412 #122074 #661274
monochromatic
#121A04 #2C3F0A #517412 #76A91A #9BDD23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517412#FFFFFF#000000##FFFFFF
##5174121.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)
#7A6B00
Deuteranopia (green-blind)
#75691D
Tritanopia (blue-blind)
#546E62
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517412;
/* rgb */ color: rgb(81, 116, 18);
/* oklch */ color: oklch(51.4% 0.127 128.3);
Tailwind
colors: {
  custom: {
    50: '#869c5a',
    500: '#517412',
    950: '#000000',
  },
}
SCSS
$custom: #517412;
$custom-light: #869c5a;
$custom-dark: #000000;
JSON
{
  "hex": "#517412",
  "rgb": {
    "r": 81,
    "g": 116,
    "b": 18
  },
  "hsl": {
    "h": 81.429,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51353,
    "c": 0.1268,
    "h": 128.3
  },
  "luminance": 0.14284
}

Semantic roles & 50–950 ramp

primary
#517412
secondary
#6037AB
accent
#38F07A
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E04
muted
#7C7E79

Preview Lab

Preview with #517412

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

Preview Lab → · Contrast checker → · Palette generator →

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