#516B23#516B23

#516B23 is a mid, moderate yellow-green. Relative luminance 0.124; OKLCH L 49.1% C 0.103 H 126.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#516B23
RGBrgb(81, 107, 35)
HSLhsl(82, 51%, 28%)
HSVhsv(82, 67%, 42%)
CMYKcmyk(24.3%, 0%, 67.3%, 58%)
CIE-LABlab(41.82, -21.73, 36.05)
CIE-LCHlch(41.82, 42.09, 121.08°)
OKLaboklab(49.11% -0.0619 0.0826)
OKLCHoklch(49.11% 0.103 126.8)
XYZxyz(8.9544, 12.3859, 3.5087)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B23 #3D236B
analogous
#6B6123 #516B23 #2D6B23
triadic
#516B23 #23516B #6B2351
tetradic
#516B23 #236B61 #3D236B #6B232D
square
#516B23 #236B61 #3D236B #6B232D
split-complementary
#516B23 #232D6B #61236B
monochromatic
#111708 #2E3D14 #516B23 #749932 #95C246

Accessibility & contrast

On white

6.04
#516B23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#516B23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516B23
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516B23#FFFFFF#000000##FFFFFF
##516B231.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71641A
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#54665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b23;
/* rgb */ color: rgb(81, 107, 35);
/* oklch */ color: oklch(49.1% 0.103 126.8);
Tailwind
colors: {
  custom: {
    50: '#849562',
    500: '#516b23',
    950: '#000000',
  },
}
SCSS
$custom: #516b23;
$custom-light: #849562;
$custom-dark: #000000;
JSON
{
  "hex": "#516b23",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 35
  },
  "hsl": {
    "h": 81.667,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.1032,
    "h": 126.8
  },
  "luminance": 0.12386
}

Semantic roles & 50–950 ramp

primary
#516B23
secondary
#694B9E
accent
#4EDA80
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516B23

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

Preview Lab → · Contrast checker → · Palette generator →

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