#516F22#516F22

#516F22 is a mid, moderate yellow-green. Relative luminance 0.132; OKLCH L 50.1% C 0.110 H 128.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#516F22
RGBrgb(81, 111, 34)
HSLhsl(83, 53%, 28%)
HSVhsv(83, 69%, 44%)
CMYKcmyk(27%, 0%, 69.4%, 56.5%)
CIE-LABlab(43.11, -23.85, 37.88)
CIE-LCHlch(43.11, 44.76, 122.19°)
OKLaboklab(50.15% -0.0678 0.0863)
OKLCHoklch(50.15% 0.11 128.1)
XYZxyz(9.3665, 13.2335, 3.5739)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516F22 #40226F
analogous
#6F6622 #516F22 #2A6F22
triadic
#516F22 #22516F #6F2251
tetradic
#516F22 #226F66 #40226F #6F222A
square
#516F22 #226F66 #40226F #6F222A
split-complementary
#516F22 #222A6F #66226F
monochromatic
#111707 #2F4014 #516F22 #739E30 #94C645

Accessibility & contrast

On white

5.76
#516F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#516F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516F22
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516F22#FFFFFF#000000##FFFFFF
##516F221.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756718
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#546A5F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #516f22;
/* rgb */ color: rgb(81, 111, 34);
/* oklch */ color: oklch(50.1% 0.110 128.1);
Tailwind
colors: {
  custom: {
    50: '#849861',
    500: '#516f22',
    950: '#000000',
  },
}
SCSS
$custom: #516f22;
$custom-light: #849861;
$custom-dark: #000000;
JSON
{
  "hex": "#516f22",
  "rgb": {
    "r": 81,
    "g": 111,
    "b": 34
  },
  "hsl": {
    "h": 83.377,
    "s": 53.103,
    "l": 28.431
  },
  "oklch": {
    "l": 0.50148,
    "c": 0.10977,
    "h": 128.1
  },
  "luminance": 0.13234
}

Semantic roles & 50–950 ramp

primary
#516F22
secondary
#6D4AA2
accent
#4BDD84
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516F22

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

Preview Lab → · Contrast checker → · Palette generator →

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