#517419#517419

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

Color values

HEX#517419
RGBrgb(81, 116, 25)
HSLhsl(83, 65%, 28%)
HSVhsv(83, 78%, 45%)
CMYKcmyk(30.2%, 0%, 78.4%, 54.5%)
CIE-LABlab(44.67, -26.96, 43.12)
CIE-LCHlch(44.67, 50.85, 122.01°)
OKLaboklab(51.4% -0.0771 0.0959)
OKLCHoklch(51.4% 0.123 128.8)
XYZxyz(9.8142, 14.3100, 3.1646)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#517419 #3C1974
analogous
#746919 #517419 #237419
triadic
#517419 #195174 #741951
tetradic
#517419 #197469 #3C1974 #741923
square
#517419 #197469 #3C1974 #741923
split-complementary
#517419 #192374 #691974
monochromatic
#121905 #2E420E #517419 #74A624 #96D334

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##517419#FFFFFF#000000##FFFFFF
##5174191.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)
#7A6B05
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#546F63
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #517419;
/* rgb */ color: rgb(81, 116, 25);
/* oklch */ color: oklch(51.4% 0.123 128.8);
Tailwind
colors: {
  custom: {
    50: '#859c5d',
    500: '#517419',
    950: '#000000',
  },
}
SCSS
$custom: #517419;
$custom-light: #859c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#517419",
  "rgb": {
    "r": 81,
    "g": 116,
    "b": 25
  },
  "hsl": {
    "h": 83.077,
    "s": 64.539,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51395,
    "c": 0.12301,
    "h": 128.8
  },
  "luminance": 0.1431
}

Semantic roles & 50–950 ramp

primary
#517419
secondary
#6840A9
accent
#40E881
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0E05
muted
#7C7E79

Preview Lab

Preview with #517419

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

Preview Lab → · Contrast checker → · Palette generator →

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