#516A30#516A30

#516A30 is a mid, moderate yellow-green. Relative luminance 0.123; OKLCH L 49.0% C 0.089 H 128.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#516A30
RGBrgb(81, 106, 48)
HSLhsl(86, 38%, 30%)
HSVhsv(86, 55%, 42%)
CMYKcmyk(23.6%, 0%, 54.7%, 58.4%)
CIE-LABlab(41.64, -19.88, 29.30)
CIE-LCHlch(41.64, 35.41, 124.17°)
OKLaboklab(49.01% -0.0555 0.0696)
OKLCHoklch(49.01% 0.089 128.6)
XYZxyz(9.0808, 12.2706, 4.6858)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A30 #49306A
analogous
#6A6630 #516A30 #346A30
triadic
#516A30 #30516A #6A3051
tetradic
#516A30 #306A66 #49306A #6A3034
square
#516A30 #306A66 #49306A #6A3034
split-complementary
#516A30 #30346A #66306A
monochromatic
#11160A #31401D #516A30 #719443 #90B65E

Accessibility & contrast

On white

6.08
#516A30 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#516A30 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A30
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A30#FFFFFF#000000##FFFFFF
##516A301.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #516a30;
/* rgb */ color: rgb(81, 106, 48);
/* oklch */ color: oklch(49.0% 0.089 128.6);
Tailwind
colors: {
  custom: {
    50: '#83946a',
    500: '#516a30',
    950: '#000000',
  },
}
SCSS
$custom: #516a30;
$custom-light: #83946a;
$custom-dark: #000000;
JSON
{
  "hex": "#516a30",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 48
  },
  "hsl": {
    "h": 85.862,
    "s": 37.662,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49007,
    "c": 0.08904,
    "h": 128.6
  },
  "luminance": 0.12271
}

Semantic roles & 50–950 ramp

primary
#516A30
secondary
#765A9B
accent
#5ACE8C
background
#F8F9F6
surface
#EFF1EB
border
#CACBC6
text
#0B0D06
muted
#7C7E7A

Preview Lab

Preview with #516A30

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

Preview Lab → · Contrast checker → · Palette generator →

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