#516B20#516B20

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

Color values

HEX#516B20
RGBrgb(81, 107, 32)
HSLhsl(81, 54%, 27%)
HSVhsv(81, 70%, 42%)
CMYKcmyk(24.3%, 0%, 70.1%, 58%)
CIE-LABlab(41.80, -21.97, 37.39)
CIE-LCHlch(41.80, 43.37, 120.44°)
OKLaboklab(49.08% -0.0628 0.085)
OKLCHoklch(49.08% 0.106 126.5)
XYZxyz(8.9118, 12.3689, 3.2841)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B20 #3A206B
analogous
#6B6020 #516B20 #2C6B20
triadic
#516B20 #20516B #6B2051
tetradic
#516B20 #206B60 #3A206B #6B202C
square
#516B20 #206B60 #3A206B #6B202C
split-complementary
#516B20 #202C6B #60206B
monochromatic
#121807 #2D3C12 #516B20 #759A2E #97C640

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516B20#FFFFFF#000000##FFFFFF
##516B201.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)
#716416
Deuteranopia (green-blind)
#6D6226
Tritanopia (blue-blind)
#54665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b20;
/* rgb */ color: rgb(81, 107, 32);
/* oklch */ color: oklch(49.1% 0.106 126.5);
Tailwind
colors: {
  custom: {
    50: '#849560',
    500: '#516b20',
    950: '#000000',
  },
}
SCSS
$custom: #516b20;
$custom-light: #849560;
$custom-dark: #000000;
JSON
{
  "hex": "#516b20",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 80.8,
    "s": 53.957,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49076,
    "c": 0.10571,
    "h": 126.5
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#516B20
secondary
#66489F
accent
#4ADD7D
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516B20

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

Preview Lab → · Contrast checker → · Palette generator →

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