#516A15#516A15

#516A15 is a mid, moderate yellow-green. Relative luminance 0.121; OKLCH L 48.7% C 0.112 H 125.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#516A15
RGBrgb(81, 106, 21)
HSLhsl(78, 67%, 25%)
HSVhsv(78, 80%, 42%)
CMYKcmyk(23.6%, 0%, 80.2%, 58.4%)
CIE-LABlab(41.39, -22.19, 41.44)
CIE-LCHlch(41.39, 47.01, 118.17°)
OKLaboklab(48.72% -0.0645 0.0916)
OKLCHoklch(48.72% 0.112 125.1)
XYZxyz(8.6828, 12.1114, 2.5896)
Luminance0.1211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A15 #2E156A
analogous
#6A5915 #516A15 #276A15
triadic
#516A15 #15516A #6A1551
tetradic
#516A15 #156A59 #2E156A #6A1527
square
#516A15 #156A59 #2E156A #6A1527
split-complementary
#516A15 #15276A #59156A
monochromatic
#141A05 #2A370B #516A15 #789D1F #9FD029

Accessibility & contrast

On white

6.14
#516A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#516A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A15
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A15#FFFFFF#000000##FFFFFF
##516A151.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706302
Deuteranopia (green-blind)
#6D611D
Tritanopia (blue-blind)
#55655A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a15;
/* rgb */ color: rgb(81, 106, 21);
/* oklch */ color: oklch(48.7% 0.112 125.1);
Tailwind
colors: {
  custom: {
    50: '#85945a',
    500: '#516a15',
    950: '#000000',
  },
}
SCSS
$custom: #516a15;
$custom-light: #85945a;
$custom-dark: #000000;
JSON
{
  "hex": "#516a15",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 77.647,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48724,
    "c": 0.11203,
    "h": 125.1
  },
  "luminance": 0.12112
}

Semantic roles & 50–950 ramp

primary
#516A15
secondary
#583AA1
accent
#3EEA71
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A15

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

Preview Lab → · Contrast checker → · Palette generator →

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