#516C23#516C23

#516C23 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.4% C 0.105 H 127.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#516C23
RGBrgb(81, 108, 35)
HSLhsl(82, 51%, 28%)
HSVhsv(82, 68%, 42%)
CMYKcmyk(25%, 0%, 67.6%, 57.6%)
CIE-LABlab(42.15, -22.24, 36.40)
CIE-LCHlch(42.15, 42.66, 121.42°)
OKLaboklab(49.37% -0.0633 0.0833)
OKLCHoklch(49.37% 0.105 127.2)
XYZxyz(9.0593, 12.5956, 3.5437)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516C23 #3E236C
analogous
#6C6223 #516C23 #2C6C23
triadic
#516C23 #23516C #6C2351
tetradic
#516C23 #236C62 #3E236C #6C232C
square
#516C23 #236C62 #3E236C #6C232C
split-complementary
#516C23 #232C6C #62236C
monochromatic
#111707 #2E3E14 #516C23 #749A32 #95C346

Accessibility & contrast

On white

5.97
#516C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#516C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516C23
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516C23#FFFFFF#000000##FFFFFF
##516C231.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72651A
Deuteranopia (green-blind)
#6E6329
Tritanopia (blue-blind)
#54675D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516c23;
/* rgb */ color: rgb(81, 108, 35);
/* oklch */ color: oklch(49.4% 0.105 127.2);
Tailwind
colors: {
  custom: {
    50: '#849662',
    500: '#516c23',
    950: '#000000',
  },
}
SCSS
$custom: #516c23;
$custom-light: #849662;
$custom-dark: #000000;
JSON
{
  "hex": "#516c23",
  "rgb": {
    "r": 81,
    "g": 108,
    "b": 35
  },
  "hsl": {
    "h": 82.192,
    "s": 51.049,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.10465,
    "h": 127.2
  },
  "luminance": 0.12596
}

Semantic roles & 50–950 ramp

primary
#516C23
secondary
#6A4B9F
accent
#4DDB82
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516C23

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

Preview Lab → · Contrast checker → · Palette generator →

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