#516B24#516B24

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

Color values

HEX#516B24
RGBrgb(81, 107, 36)
HSLhsl(82, 50%, 28%)
HSVhsv(82, 66%, 42%)
CMYKcmyk(24.3%, 0%, 66.4%, 58%)
CIE-LABlab(41.83, -21.64, 35.59)
CIE-LCHlch(41.83, 41.65, 121.30°)
OKLaboklab(49.12% -0.0615 0.0818)
OKLCHoklch(49.12% 0.102 127)
XYZxyz(8.9695, 12.3919, 3.5881)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516B24 #3E246B
analogous
#6B6124 #516B24 #2D6B24
triadic
#516B24 #24516B #6B2451
tetradic
#516B24 #246B61 #3E246B #6B242D
square
#516B24 #246B61 #3E246B #6B242D
split-complementary
#516B24 #242D6B #61246B
monochromatic
#111708 #2E3D15 #516B24 #749933 #95C148

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##516B24#FFFFFF#000000##FFFFFF
##516B241.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)
#71641B
Deuteranopia (green-blind)
#6D6229
Tritanopia (blue-blind)
#54665C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #516b24;
/* rgb */ color: rgb(81, 107, 36);
/* oklch */ color: oklch(49.1% 0.102 127.0);
Tailwind
colors: {
  custom: {
    50: '#849562',
    500: '#516b24',
    950: '#000000',
  },
}
SCSS
$custom: #516b24;
$custom-light: #849562;
$custom-dark: #000000;
JSON
{
  "hex": "#516b24",
  "rgb": {
    "r": 81,
    "g": 107,
    "b": 36
  },
  "hsl": {
    "h": 81.972,
    "s": 49.65,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49116,
    "c": 0.10234,
    "h": 127
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#516B24
secondary
#6A4D9E
accent
#4FD981
background
#F8F9F5
surface
#EFF1EA
border
#CACBC6
text
#0B0D05
muted
#7C7E79

Preview Lab

Preview with #516B24

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

Preview Lab → · Contrast checker → · Palette generator →

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