#516E23#516E23

#516E23 is a mid, moderate yellow-green. Relative luminance 0.130; OKLCH L 49.9% C 0.108 H 127.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#516E23
RGBrgb(81, 110, 35)
HSLhsl(83, 52%, 28%)
HSVhsv(83, 68%, 43%)
CMYKcmyk(26.4%, 0%, 68.2%, 56.9%)
CIE-LABlab(42.80, -23.26, 37.09)
CIE-LCHlch(42.80, 43.78, 122.09°)
OKLaboklab(49.9% -0.0661 0.0848)
OKLCHoklch(49.9% 0.108 127.9)
XYZxyz(9.2726, 13.0224, 3.6148)
Luminance0.1302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516E23 #40236E
analogous
#6E6523 #516E23 #2B6E23
triadic
#516E23 #23516E #6E2351
tetradic
#516E23 #236E65 #40236E #6E232B
square
#516E23 #236E65 #40236E #6E232B
split-complementary
#516E23 #232B6E #65236E
monochromatic
#111707 #2F4014 #516E23 #739C32 #94C447

Accessibility & contrast

On white

5.83
#516E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#516E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516E23
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516E23#FFFFFF#000000##FFFFFF
##516E231.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746619
Deuteranopia (green-blind)
#706429
Tritanopia (blue-blind)
#54695F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #516e23;
/* rgb */ color: rgb(81, 110, 35);
/* oklch */ color: oklch(49.9% 0.108 127.9);
Tailwind
colors: {
  custom: {
    50: '#849762',
    500: '#516e23',
    950: '#000000',
  },
}
SCSS
$custom: #516e23;
$custom-light: #849762;
$custom-dark: #000000;
JSON
{
  "hex": "#516e23",
  "rgb": {
    "r": 81,
    "g": 110,
    "b": 35
  },
  "hsl": {
    "h": 83.2,
    "s": 51.724,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49895,
    "c": 0.10752,
    "h": 127.9
  },
  "luminance": 0.13023
}

Semantic roles & 50–950 ramp

primary
#516E23
secondary
#6D4CA1
accent
#4DDB84
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516E23

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

Preview Lab → · Contrast checker → · Palette generator →

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