#516F19#516F19

#516F19 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.116 H 127.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#516F19
RGBrgb(81, 111, 25)
HSLhsl(81, 63%, 27%)
HSVhsv(81, 77%, 44%)
CMYKcmyk(27%, 0%, 77.5%, 56.5%)
CIE-LABlab(43.05, -24.49, 41.55)
CIE-LCHlch(43.05, 48.23, 120.52°)
OKLaboklab(50.07% -0.0704 0.0926)
OKLCHoklch(50.07% 0.116 127.2)
XYZxyz(9.2533, 13.1882, 2.9776)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F19 #37196F
analogous
#6F6219 #516F19 #266F19
triadic
#516F19 #19516F #6F1951
tetradic
#516F19 #196F62 #37196F #6F1926
square
#516F19 #196F62 #37196F #6F1926
split-complementary
#516F19 #19266F #62196F
monochromatic
#121906 #2D3D0E #516F19 #75A124 #99D132

Accessibility & contrast

On white

5.77
#516F19 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#516F19 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F19
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F19#FFFFFF#000000##FFFFFF
##516F191.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f19;
/* rgb */ color: rgb(81, 111, 25);
/* oklch */ color: oklch(50.1% 0.116 127.2);
Tailwind
colors: {
  custom: {
    50: '#85985d',
    500: '#516f19',
    950: '#000000',
  },
}
SCSS
$custom: #516f19;
$custom-light: #85985d;
$custom-dark: #000000;
JSON
{
  "hex": "#516f19",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 25
  },
  "hsl": {
    "h": 80.93,
    "s": 63.235,
    "l": 26.667
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.11628,
    "h": 127.2
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#516F19
secondary
#633FA4
accent
#42E67B
background
#F8F9F5
surface
#EFF2E9
border
#CACCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516F19

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

Preview Lab → · Contrast checker → · Palette generator →

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