#516128#516128

#516128 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.6% C 0.084 H 122.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#516128
RGBrgb(81, 97, 40)
HSLhsl(77, 42%, 27%)
HSVhsv(77, 59%, 38%)
CMYKcmyk(16.5%, 0%, 58.8%, 62%)
CIE-LABlab(38.64, -15.94, 30.02)
CIE-LCHlch(38.64, 33.98, 117.96°)
OKLaboklab(46.56% -0.0453 0.0704)
OKLCHoklch(46.56% 0.084 122.7)
XYZxyz(8.0511, 10.4519, 3.6003)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#516128 #382861
analogous
#615528 #516128 #356128
triadic
#516128 #285161 #612851
tetradic
#516128 #286155 #382861 #612835
square
#516128 #286155 #382861 #612835
split-complementary
#516128 #283561 #552861
monochromatic
#121609 #2D3616 #516128 #758C3A #99B64E

Accessibility & contrast

On white

6.80
#516128 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#516128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #516128
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##516128#FFFFFF#000000##FFFFFF
##5161281.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B22
Deuteranopia (green-blind)
#645B2C
Tritanopia (blue-blind)
#555C54
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #516128;
/* rgb */ color: rgb(81, 97, 40);
/* oklch */ color: oklch(46.6% 0.084 122.7);
Tailwind
colors: {
  custom: {
    50: '#838e64',
    500: '#516128',
    950: '#000000',
  },
}
SCSS
$custom: #516128;
$custom-light: #838e64;
$custom-dark: #000000;
JSON
{
  "hex": "#516128",
  "rgb": {
    "r": 81,
    "g": 97,
    "b": 40
  },
  "hsl": {
    "h": 76.842,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.46555,
    "c": 0.08368,
    "h": 122.7
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#516128
secondary
#645194
accent
#56D179
background
#F8F8F6
surface
#EFF0EB
border
#CACBC6
text
#0B0C05
muted
#7C7D7A

Preview Lab

Preview with #516128

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

Preview Lab → · Contrast checker → · Palette generator →

#516128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva