#514A16#514A16

#514A16 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.5% C 0.071 H 101.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#514A16
RGBrgb(81, 74, 22)
HSLhsl(53, 57%, 20%)
HSVhsv(53, 73%, 32%)
CMYKcmyk(0%, 8.6%, 72.8%, 68.2%)
CIE-LABlab(31.13, -4.18, 30.90)
CIE-LCHlch(31.13, 31.18, 97.71°)
OKLaboklab(40.48% -0.0143 0.0696)
OKLCHoklch(40.48% 0.071 101.6)
XYZxyz(5.9872, 6.7051, 1.7377)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A16 #161D51
analogous
#512C16 #514A16 #3B5116
triadic
#514A16 #16514A #4A1651
tetradic
#514A16 #16512C #161D51 #51163B
square
#514A16 #16512C #161D51 #51163B
split-complementary
#514A16 #163B51 #2C1651
monochromatic
#181607 #211E09 #514A16 #817623 #B1A230

Accessibility & contrast

On white

8.97
#514A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#514A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514A16
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A16#FFFFFF#000000##FFFFFF
##514A161.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51480F
Deuteranopia (green-blind)
#534B19
Tritanopia (blue-blind)
#58443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514a16;
/* rgb */ color: rgb(81, 74, 22);
/* oklch */ color: oklch(40.5% 0.071 101.6);
Tailwind
colors: {
  custom: {
    50: '#847c56',
    500: '#514a16',
    950: '#000000',
  },
}
SCSS
$custom: #514a16;
$custom-light: #847c56;
$custom-dark: #000000;
JSON
{
  "hex": "#514a16",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 22
  },
  "hsl": {
    "h": 52.881,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40483,
    "c": 0.07107,
    "h": 101.6
  },
  "luminance": 0.06705
}

Semantic roles & 50–950 ramp

primary
#514A16
secondary
#3A4488
accent
#59E147
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514A16

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

Preview Lab → · Contrast checker → · Palette generator →

#514A16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva