#516F26#516F26

#516F26 is a mid, moderate yellow-green. Relative luminance 0.133; OKLCH L 50.2% C 0.106 H 128.7°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#516F26
RGBrgb(81, 111, 38)
HSLhsl(85, 49%, 29%)
HSVhsv(85, 66%, 44%)
CMYKcmyk(27%, 0%, 65.8%, 56.5%)
CIE-LABlab(43.15, -23.50, 36.08)
CIE-LCHlch(43.15, 43.06, 123.08°)
OKLaboklab(50.19% -0.0665 0.0831)
OKLCHoklch(50.19% 0.106 128.7)
XYZxyz(9.4276, 13.2579, 3.8957)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F26 #44266F
analogous
#6F6926 #516F26 #2D6F26
triadic
#516F26 #26516F #6F2651
tetradic
#516F26 #266F69 #44266F #6F262D
square
#516F26 #266F69 #44266F #6F262D
split-complementary
#516F26 #262D6F #69266F
monochromatic
#111708 #304116 #516F26 #729D36 #92C24D

Accessibility & contrast

On white

5.75
#516F26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#516F26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F26
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F26#FFFFFF#000000##FFFFFF
##516F261.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671D
Deuteranopia (green-blind)
#70652B
Tritanopia (blue-blind)
#546A60
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f26;
/* rgb */ color: rgb(81, 111, 38);
/* oklch */ color: oklch(50.2% 0.106 128.7);
Tailwind
colors: {
  custom: {
    50: '#849864',
    500: '#516f26',
    950: '#000000',
  },
}
SCSS
$custom: #516f26;
$custom-light: #849864;
$custom-dark: #000000;
JSON
{
  "hex": "#516f26",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 38
  },
  "hsl": {
    "h": 84.658,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50189,
    "c": 0.1064,
    "h": 128.7
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#516F26
secondary
#714FA2
accent
#4FD988
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516F26

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

Preview Lab → · Contrast checker → · Palette generator →

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