#516E19#516E19

#516E19 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.8% C 0.115 H 126.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#516E19
RGBrgb(81, 110, 25)
HSLhsl(80, 63%, 26%)
HSVhsv(80, 77%, 43%)
CMYKcmyk(26.4%, 0%, 77.3%, 56.9%)
CIE-LABlab(42.72, -23.99, 41.23)
CIE-LCHlch(42.72, 47.70, 120.19°)
OKLaboklab(49.81% -0.069 0.0919)
OKLCHoklch(49.81% 0.115 126.9)
XYZxyz(9.1448, 12.9712, 2.9414)
Luminance0.1297 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E19 #36196E
analogous
#6E6119 #516E19 #266E19
triadic
#516E19 #19516E #6E1951
tetradic
#516E19 #196E61 #36196E #6E1926
square
#516E19 #196E61 #36196E #6E1926
split-complementary
#516E19 #19266E #61196E
monochromatic
#121906 #2C3C0E #516E19 #76A024 #9AD031

Accessibility & contrast

On white

5.84
#516E19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#516E19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E19
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E19#FFFFFF#000000##FFFFFF
##516E191.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746608
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#54695E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e19;
/* rgb */ color: rgb(81, 110, 25);
/* oklch */ color: oklch(49.8% 0.115 126.9);
Tailwind
colors: {
  custom: {
    50: '#85975c',
    500: '#516e19',
    950: '#000000',
  },
}
SCSS
$custom: #516e19;
$custom-light: #85975c;
$custom-dark: #000000;
JSON
{
  "hex": "#516e19",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 25
  },
  "hsl": {
    "h": 80.471,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49807,
    "c": 0.11493,
    "h": 126.9
  },
  "luminance": 0.12971
}

Semantic roles & 50–950 ramp

primary
#516E19
secondary
#623FA3
accent
#42E67A
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516E19

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

Preview Lab → · Contrast checker → · Palette generator →

#516E19 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva