#516B1E#516B1E

#516B1E is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.107 H 126.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#516B1E
RGBrgb(81, 107, 30)
HSLhsl(80, 56%, 27%)
HSVhsv(80, 72%, 42%)
CMYKcmyk(24.3%, 0%, 72%, 58%)
CIE-LABlab(41.78, -22.13, 38.25)
CIE-LCHlch(41.78, 44.19, 120.05°)
OKLaboklab(49.06% -0.0635 0.0865)
OKLCHoklch(49.06% 0.107 126.3)
XYZxyz(8.8854, 12.3583, 3.1453)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B1E #381E6B
analogous
#6B5F1E #516B1E #2B6B1E
triadic
#516B1E #1E516B #6B1E51
tetradic
#516B1E #1E6B5F #381E6B #6B1E2B
square
#516B1E #1E6B5F #381E6B #6B1E2B
split-complementary
#516B1E #1E2B6B #5F1E6B
monochromatic
#121807 #2D3B11 #516B1E #759B2B #99C83B

Accessibility & contrast

On white

6.05
#516B1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#516B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B1E
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B1E#FFFFFF#000000##FFFFFF
##516B1E1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716412
Deuteranopia (green-blind)
#6D6224
Tritanopia (blue-blind)
#54665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b1e;
/* rgb */ color: rgb(81, 107, 30);
/* oklch */ color: oklch(49.1% 0.107 126.3);
Tailwind
colors: {
  custom: {
    50: '#84955f',
    500: '#516b1e',
    950: '#000000',
  },
}
SCSS
$custom: #516b1e;
$custom-light: #84955f;
$custom-dark: #000000;
JSON
{
  "hex": "#516b1e",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 30
  },
  "hsl": {
    "h": 80.26,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.49057,
    "c": 0.10727,
    "h": 126.3
  },
  "luminance": 0.12358
}

Semantic roles & 50–950 ramp

primary
#516B1E
secondary
#64459F
accent
#48DF7B
background
#F8F9F5
surface
#EFF1E9
border
#CACBC5
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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