#516A23#516A23

#516A23 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 48.8% C 0.102 H 126.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#516A23
RGBrgb(81, 106, 35)
HSLhsl(81, 50%, 28%)
HSVhsv(81, 67%, 42%)
CMYKcmyk(23.6%, 0%, 67%, 58.4%)
CIE-LABlab(41.50, -21.21, 35.70)
CIE-LCHlch(41.50, 41.52, 120.71°)
OKLaboklab(48.84% -0.0604 0.0819)
OKLCHoklch(48.84% 0.102 126.4)
XYZxyz(8.8508, 12.1786, 3.4742)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516A23 #3C236A
analogous
#6A6023 #516A23 #2D6A23
triadic
#516A23 #23516A #6A2351
tetradic
#516A23 #236A60 #3C236A #6A232D
square
#516A23 #236A60 #3C236A #6A232D
split-complementary
#516A23 #232D6A #60236A
monochromatic
#121708 #2E3C14 #516A23 #749832 #96C246

Accessibility & contrast

On white

6.11
#516A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#516A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516A23
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516A23#FFFFFF#000000##FFFFFF
##516A231.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70631A
Deuteranopia (green-blind)
#6C6128
Tritanopia (blue-blind)
#54655B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #516a23;
/* rgb */ color: rgb(81, 106, 35);
/* oklch */ color: oklch(48.8% 0.102 126.4);
Tailwind
colors: {
  custom: {
    50: '#849462',
    500: '#516a23',
    950: '#000000',
  },
}
SCSS
$custom: #516a23;
$custom-light: #849462;
$custom-dark: #000000;
JSON
{
  "hex": "#516a23",
  "rgb": {
    "r": 81,
    "g": 106,
    "b": 35
  },
  "hsl": {
    "h": 81.127,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.48843,
    "c": 0.10176,
    "h": 126.4
  },
  "luminance": 0.12179
}

Semantic roles & 50–950 ramp

primary
#516A23
secondary
#684B9D
accent
#4EDA7F
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516A23

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

Preview Lab → · Contrast checker → · Palette generator →

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