#516A34#516A34

#516A34 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.1% C 0.085 H 129.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#516A34
RGBrgb(81, 106, 52)
HSLhsl(88, 34%, 31%)
HSVhsv(88, 51%, 42%)
CMYKcmyk(23.6%, 0%, 50.9%, 58.4%)
CIE-LABlab(41.70, -19.40, 27.19)
CIE-LCHlch(41.70, 33.40, 125.50°)
OKLaboklab(49.07% -0.0538 0.0653)
OKLCHoklch(49.07% 0.085 129.5)
XYZxyz(9.1671, 12.3052, 5.1403)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A34 #4D346A
analogous
#6A6834 #516A34 #366A34
triadic
#516A34 #34516A #6A3451
tetradic
#516A34 #346A68 #4D346A #6A3436
square
#516A34 #346A68 #4D346A #6A3436
split-complementary
#516A34 #34366A #68346A
monochromatic
#12180C #324120 #516A34 #709348 #8FB365

Accessibility & contrast

On white

6.07
#516A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#516A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A34
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A34#FFFFFF#000000##FFFFFF
##516A341.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E642F
Deuteranopia (green-blind)
#6B6237
Tritanopia (blue-blind)
#53665D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a34;
/* rgb */ color: rgb(81, 106, 52);
/* oklch */ color: oklch(49.1% 0.085 129.5);
Tailwind
colors: {
  custom: {
    50: '#83946d',
    500: '#516a34',
    950: '#000000',
  },
}
SCSS
$custom: #516a34;
$custom-light: #83946d;
$custom-dark: #000000;
JSON
{
  "hex": "#516a34",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 52
  },
  "hsl": {
    "h": 87.778,
    "s": 34.177,
    "l": 30.98
  },
  "oklch": {
    "l": 0.49068,
    "c": 0.08463,
    "h": 129.5
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#516A34
secondary
#7B5F9B
accent
#5ECA90
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D07
muted
#7C7E7A

Preview Lab

Preview with #516A34

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

Preview Lab → · Contrast checker → · Palette generator →

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