#514D11#514D11

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

Color values

HEX#514D11
RGBrgb(81, 77, 17)
HSLhsl(56, 65%, 19%)
HSVhsv(56, 79%, 32%)
CMYKcmyk(0%, 4.9%, 79%, 68.2%)
CIE-LABlab(32.03, -6.30, 34.06)
CIE-LCHlch(32.03, 34.64, 100.48°)
OKLaboklab(41.19% -0.0209 0.0753)
OKLCHoklch(41.19% 0.078 105.5)
XYZxyz(6.1486, 7.0978, 1.5763)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D11 #111551
analogous
#512D11 #514D11 #355111
triadic
#514D11 #11514D #4D1151
tetradic
#514D11 #11512D #111551 #511135
square
#514D11 #11512D #111551 #511135
split-complementary
#514D11 #113551 #2D1151
monochromatic
#191805 #1E1D06 #514D11 #847D1C #B6AD26

Accessibility & contrast

On white

8.68
#514D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514D11
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514D11#FFFFFF#000000##FFFFFF
##514D111.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A07
Deuteranopia (green-blind)
#564C15
Tritanopia (blue-blind)
#584741
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514d11;
/* rgb */ color: rgb(81, 77, 17);
/* oklch */ color: oklch(41.2% 0.078 105.5);
Tailwind
colors: {
  custom: {
    50: '#847e54',
    500: '#514d11',
    950: '#000000',
  },
}
SCSS
$custom: #514d11;
$custom-light: #847e54;
$custom-dark: #000000;
JSON
{
  "hex": "#514d11",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 56.25,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.07814,
    "h": 105.5
  },
  "luminance": 0.07098
}

Semantic roles & 50–950 ramp

primary
#514D11
secondary
#34398A
accent
#4AE840
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514D11

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

Preview Lab → · Contrast checker → · Palette generator →

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