#515416#515416

#515416 is a dark, moderate yellow. Relative luminance 0.081; OKLCH L 43.0% C 0.082 H 112.1°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#515416
RGBrgb(81, 84, 22)
HSLhsl(63, 58%, 21%)
HSVhsv(63, 74%, 33%)
CMYKcmyk(3.6%, 0%, 73.8%, 67.1%)
CIE-LABlab(34.29, -10.13, 34.13)
CIE-LCHlch(34.29, 35.60, 106.53°)
OKLaboklab(43.01% -0.031 0.0764)
OKLCHoklch(43.01% 0.082 112.1)
XYZxyz(6.7087, 8.1481, 1.9782)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515416 #191654
analogous
#543816 #515416 #325416
triadic
#515416 #165154 #541651
tetradic
#515416 #165438 #191654 #541632
square
#515416 #165438 #191654 #541632
split-complementary
#515416 #163254 #381654
monochromatic
#171806 #222409 #515416 #808423 #AFB52F

Accessibility & contrast

On white

7.99
#515416 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#515416 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515416
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515416#FFFFFF#000000##FFFFFF
##5154161.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500D
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#574F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #515416;
/* rgb */ color: rgb(81, 84, 22);
/* oklch */ color: oklch(43.0% 0.082 112.1);
Tailwind
colors: {
  custom: {
    50: '#848458',
    500: '#515416',
    950: '#000000',
  },
}
SCSS
$custom: #515416;
$custom-light: #848458;
$custom-dark: #000000;
JSON
{
  "hex": "#515416",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 22
  },
  "hsl": {
    "h": 62.903,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43005,
    "c": 0.08249,
    "h": 112.1
  },
  "luminance": 0.08148
}

Semantic roles & 50–950 ramp

primary
#515416
secondary
#3E3A8B
accent
#46E24E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515416

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

Preview Lab → · Contrast checker → · Palette generator →

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