#516D26#516D26

#516D26 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.7% C 0.103 H 128.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#516D26
RGBrgb(81, 109, 38)
HSLhsl(84, 48%, 29%)
HSVhsv(84, 65%, 43%)
CMYKcmyk(25.7%, 0%, 65.1%, 57.3%)
CIE-LABlab(42.50, -22.49, 35.37)
CIE-LCHlch(42.50, 41.91, 122.45°)
OKLaboklab(49.66% -0.0637 0.0816)
OKLCHoklch(49.66% 0.103 128)
XYZxyz(9.2118, 12.8264, 3.8238)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D26 #42266D
analogous
#6D6626 #516D26 #2E6D26
triadic
#516D26 #26516D #6D2651
tetradic
#516D26 #266D66 #42266D #6D262E
square
#516D26 #266D66 #42266D #6D262E
split-complementary
#516D26 #262E6D #66266D
monochromatic
#111708 #2F4016 #516D26 #739A36 #93C14D

Accessibility & contrast

On white

5.89
#516D26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#516D26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D26
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D26#FFFFFF#000000##FFFFFF
##516D261.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72661E
Deuteranopia (green-blind)
#6E642B
Tritanopia (blue-blind)
#54685E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d26;
/* rgb */ color: rgb(81, 109, 38);
/* oklch */ color: oklch(49.7% 0.103 128.0);
Tailwind
colors: {
  custom: {
    50: '#849764',
    500: '#516d26',
    950: '#000000',
  },
}
SCSS
$custom: #516d26;
$custom-light: #849764;
$custom-dark: #000000;
JSON
{
  "hex": "#516d26",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 38
  },
  "hsl": {
    "h": 83.662,
    "s": 48.299,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49663,
    "c": 0.10348,
    "h": 128
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#516D26
secondary
#6F4FA0
accent
#50D886
background
#F8F9F6
surface
#EFF2EB
border
#CACCC6
text
#0B0D05
muted
#7C7E7A

Preview Lab

Preview with #516D26

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

Preview Lab → · Contrast checker → · Palette generator →

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