#516A10#516A10

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

Color values

HEX#516A10
RGBrgb(81, 106, 16)
HSLhsl(77, 74%, 24%)
HSVhsv(77, 85%, 42%)
CMYKcmyk(23.6%, 0%, 84.9%, 58.4%)
CIE-LABlab(41.37, -22.44, 43.07)
CIE-LCHlch(41.37, 48.57, 117.52°)
OKLaboklab(48.69% -0.0655 0.0942)
OKLCHoklch(48.69% 0.115 124.8)
XYZxyz(8.6410, 12.0947, 2.3694)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A10 #29106A
analogous
#6A5610 #516A10 #246A10
triadic
#516A10 #10516A #6A1051
tetradic
#516A10 #106A56 #29106A #6A1024
square
#516A10 #106A56 #29106A #6A1024
split-complementary
#516A10 #10246A #56106A
monochromatic
#141B04 #283508 #516A10 #7A9F18 #A2D420

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516A10#FFFFFF#000000##FFFFFF
##516A101.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)
#706200
Deuteranopia (green-blind)
#6D611A
Tritanopia (blue-blind)
#55645A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a10;
/* rgb */ color: rgb(81, 106, 16);
/* oklch */ color: oklch(48.7% 0.115 124.8);
Tailwind
colors: {
  custom: {
    50: '#859458',
    500: '#516a10',
    950: '#000000',
  },
}
SCSS
$custom: #516a10;
$custom-light: #859458;
$custom-dark: #000000;
JSON
{
  "hex": "#516a10",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 76.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.48694,
    "c": 0.11473,
    "h": 124.8
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#516A10
secondary
#5234A2
accent
#37F06B
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0B0D04
muted
#7C7E79

Preview Lab

Preview with #516A10

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

Preview Lab → · Contrast checker → · Palette generator →

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