#516F11#516F11

#516F11 is a mid, vivid yellow-green. Relative luminance 0.132; OKLCH L 50.0% C 0.121 H 126.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#516F11
RGBrgb(81, 111, 17)
HSLhsl(79, 73%, 25%)
HSVhsv(79, 85%, 44%)
CMYKcmyk(27%, 0%, 84.7%, 56.5%)
CIE-LABlab(43.00, -24.92, 44.23)
CIE-LCHlch(43.00, 50.77, 119.39°)
OKLaboklab(50.02% -0.0722 0.0968)
OKLCHoklch(50.02% 0.121 126.7)
XYZxyz(9.1790, 13.1585, 2.5865)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F11 #2F116F
analogous
#6F5E11 #516F11 #226F11
triadic
#516F11 #11516F #6F1151
tetradic
#516F11 #116F5E #2F116F #6F1122
square
#516F11 #116F5E #2F116F #6F1122
split-complementary
#516F11 #11226F #5E116F
monochromatic
#131B04 #2A3A09 #516F11 #78A419 #9ED921

Accessibility & contrast

On white

5.78
#516F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#516F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F11
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F11#FFFFFF#000000##FFFFFF
##516F111.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#71651C
Tritanopia (blue-blind)
#55695E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f11;
/* rgb */ color: rgb(81, 111, 17);
/* oklch */ color: oklch(50.0% 0.121 126.7);
Tailwind
colors: {
  custom: {
    50: '#859859',
    500: '#516f11',
    950: '#000000',
  },
}
SCSS
$custom: #516f11;
$custom-light: #859859;
$custom-dark: #000000;
JSON
{
  "hex": "#516f11",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 17
  },
  "hsl": {
    "h": 79.149,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50022,
    "c": 0.12076,
    "h": 126.7
  },
  "luminance": 0.13159
}

Semantic roles & 50–950 ramp

primary
#516F11
secondary
#5935A6
accent
#38F073
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516F11

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

Preview Lab → · Contrast checker → · Palette generator →

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