#514D16#514D16

#514D16 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.2% C 0.074 H 105.2°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#514D16
RGBrgb(81, 77, 22)
HSLhsl(56, 57%, 20%)
HSVhsv(56, 73%, 32%)
CMYKcmyk(0%, 4.9%, 72.8%, 68.2%)
CIE-LABlab(32.07, -6.00, 31.87)
CIE-LCHlch(32.07, 32.43, 100.66°)
OKLaboklab(41.23% -0.0194 0.0717)
OKLCHoklch(41.23% 0.074 105.2)
XYZxyz(6.1923, 7.1152, 1.8061)
Luminance0.0712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D16 #161A51
analogous
#512F16 #514D16 #385116
triadic
#514D16 #16514D #4D1651
tetradic
#514D16 #16512F #161A51 #511638
square
#514D16 #16512F #161A51 #511638
split-complementary
#514D16 #163851 #2F1651
monochromatic
#181707 #211F09 #514D16 #817B23 #B1A930

Accessibility & contrast

On white

8.67
#514D16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#514D16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514D16
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514D16#FFFFFF#000000##FFFFFF
##514D161.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A0E
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#574742
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514d16;
/* rgb */ color: rgb(81, 77, 22);
/* oklch */ color: oklch(41.2% 0.074 105.2);
Tailwind
colors: {
  custom: {
    50: '#847e57',
    500: '#514d16',
    950: '#000000',
  },
}
SCSS
$custom: #514d16;
$custom-light: #847e57;
$custom-dark: #000000;
JSON
{
  "hex": "#514d16",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 22
  },
  "hsl": {
    "h": 55.932,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41232,
    "c": 0.07425,
    "h": 105.2
  },
  "luminance": 0.07115
}

Semantic roles & 50–950 ramp

primary
#514D16
secondary
#3A4088
accent
#52E147
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514D16

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

Preview Lab → · Contrast checker → · Palette generator →

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