#514C16#514C16

#514C16 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.0% C 0.073 H 104.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#514C16
RGBrgb(81, 76, 22)
HSLhsl(55, 57%, 20%)
HSVhsv(55, 73%, 32%)
CMYKcmyk(0%, 6.2%, 72.8%, 68.2%)
CIE-LABlab(31.75, -5.40, 31.55)
CIE-LCHlch(31.75, 32.00, 99.71°)
OKLaboklab(40.98% -0.0177 0.071)
OKLCHoklch(40.98% 0.073 104)
XYZxyz(6.1228, 6.9764, 1.7830)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514C16 #161B51
analogous
#512E16 #514C16 #395116
triadic
#514C16 #16514C #4C1651
tetradic
#514C16 #16512E #161B51 #511639
square
#514C16 #16512E #161B51 #511639
split-complementary
#514C16 #163951 #2E1651
monochromatic
#181707 #211F09 #514C16 #817923 #B1A630

Accessibility & contrast

On white

8.77
#514C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#514C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514C16
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514C16#FFFFFF#000000##FFFFFF
##514C161.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490F
Deuteranopia (green-blind)
#554C19
Tritanopia (blue-blind)
#574641
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514c16;
/* rgb */ color: rgb(81, 76, 22);
/* oklch */ color: oklch(41.0% 0.073 104.0);
Tailwind
colors: {
  custom: {
    50: '#847d57',
    500: '#514c16',
    950: '#000000',
  },
}
SCSS
$custom: #514c16;
$custom-light: #847d57;
$custom-dark: #000000;
JSON
{
  "hex": "#514c16",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 22
  },
  "hsl": {
    "h": 54.915,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.07317,
    "h": 104
  },
  "luminance": 0.06976
}

Semantic roles & 50–950 ramp

primary
#514C16
secondary
#3A4188
accent
#54E147
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514C16

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

Preview Lab → · Contrast checker → · Palette generator →

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