#516D23#516D23

#516D23 is a mid, moderate yellow-green. Relative luminance 0.128; OKLCH L 49.6% C 0.106 H 127.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#516D23
RGBrgb(81, 109, 35)
HSLhsl(83, 51%, 28%)
HSVhsv(83, 68%, 43%)
CMYKcmyk(25.7%, 0%, 67.9%, 57.3%)
CIE-LABlab(42.47, -22.75, 36.75)
CIE-LCHlch(42.47, 43.22, 121.76°)
OKLaboklab(49.63% -0.0647 0.0841)
OKLCHoklch(49.63% 0.106 127.6)
XYZxyz(9.1653, 12.8078, 3.5791)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516D23 #3F236D
analogous
#6D6423 #516D23 #2C6D23
triadic
#516D23 #23516D #6D2351
tetradic
#516D23 #236D64 #3F236D #6D232C
square
#516D23 #236D64 #3F236D #6D232C
split-complementary
#516D23 #232C6D #64236D
monochromatic
#111707 #2F3F14 #516D23 #739B32 #94C447

Accessibility & contrast

On white

5.90
#516D23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#516D23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516D23
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516D23#FFFFFF#000000##FFFFFF
##516D231.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736519
Deuteranopia (green-blind)
#6F6429
Tritanopia (blue-blind)
#54685E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #516d23;
/* rgb */ color: rgb(81, 109, 35);
/* oklch */ color: oklch(49.6% 0.106 127.6);
Tailwind
colors: {
  custom: {
    50: '#849762',
    500: '#516d23',
    950: '#000000',
  },
}
SCSS
$custom: #516d23;
$custom-light: #849762;
$custom-dark: #000000;
JSON
{
  "hex": "#516d23",
  "rgb": {
    "r": 81,
    "g": 109,
    "b": 35
  },
  "hsl": {
    "h": 82.703,
    "s": 51.389,
    "l": 28.235
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.10609,
    "h": 127.6
  },
  "luminance": 0.12808
}

Semantic roles & 50–950 ramp

primary
#516D23
secondary
#6C4BA0
accent
#4DDB83
background
#F8F9F5
surface
#EFF2EA
border
#CACCC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516D23

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

Preview Lab → · Contrast checker → · Palette generator →

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