#514D13#514D13

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

Color values

HEX#514D13
RGBrgb(81, 77, 19)
HSLhsl(56, 62%, 20%)
HSVhsv(56, 77%, 32%)
CMYKcmyk(0%, 4.9%, 76.5%, 68.2%)
CIE-LABlab(32.04, -6.19, 33.22)
CIE-LCHlch(32.04, 33.79, 100.55°)
OKLaboklab(41.2% -0.0203 0.0739)
OKLCHoklch(41.2% 0.077 105.4)
XYZxyz(6.1650, 7.1043, 1.6625)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D13 #131751
analogous
#512E13 #514D13 #365113
triadic
#514D13 #13514D #4D1351
tetradic
#514D13 #13512E #131751 #511336
square
#514D13 #13512E #131751 #511336
split-complementary
#514D13 #133651 #2E1351
monochromatic
#191806 #1F1E07 #514D13 #837C1F #B4AB2A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514D13#FFFFFF#000000##FFFFFF
##514D131.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)
#544A0A
Deuteranopia (green-blind)
#564D17
Tritanopia (blue-blind)
#584742
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514d13;
/* rgb */ color: rgb(81, 77, 19);
/* oklch */ color: oklch(41.2% 0.077 105.4);
Tailwind
colors: {
  custom: {
    50: '#847e55',
    500: '#514d13',
    950: '#000000',
  },
}
SCSS
$custom: #514d13;
$custom-light: #847e55;
$custom-dark: #000000;
JSON
{
  "hex": "#514d13",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 19
  },
  "hsl": {
    "h": 56.129,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.41204,
    "c": 0.07666,
    "h": 105.4
  },
  "luminance": 0.07104
}

Semantic roles & 50–950 ramp

primary
#514D13
secondary
#363C8A
accent
#4DE543
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514D13

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

Preview Lab → · Contrast checker → · Palette generator →

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