#514D19#514D19

#514D19 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.3% C 0.072 H 104.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#514D19
RGBrgb(81, 77, 25)
HSLhsl(56, 53%, 21%)
HSVhsv(56, 69%, 32%)
CMYKcmyk(0%, 4.9%, 69.1%, 68.2%)
CIE-LABlab(32.10, -5.79, 30.44)
CIE-LCHlch(32.10, 30.99, 100.76°)
OKLaboklab(41.26% -0.0184 0.0692)
OKLCHoklch(41.26% 0.072 104.9)
XYZxyz(6.2229, 7.1275, 1.9675)
Luminance0.0713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D19 #191D51
analogous
#513119 #514D19 #395119
triadic
#514D19 #19514D #4D1951
tetradic
#514D19 #195131 #191D51 #511939
square
#514D19 #195131 #191D51 #511939
split-complementary
#514D19 #193951 #311951
monochromatic
#171607 #22210B #514D19 #807927 #AFA636

Accessibility & contrast

On white

8.66
#514D19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#514D19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514D19
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514D19#FFFFFF#000000##FFFFFF
##514D191.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A13
Deuteranopia (green-blind)
#554D1C
Tritanopia (blue-blind)
#574842
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514d19;
/* rgb */ color: rgb(81, 77, 25);
/* oklch */ color: oklch(41.3% 0.072 104.9);
Tailwind
colors: {
  custom: {
    50: '#847e59',
    500: '#514d19',
    950: '#000000',
  },
}
SCSS
$custom: #514d19;
$custom-light: #847e59;
$custom-dark: #000000;
JSON
{
  "hex": "#514d19",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 25
  },
  "hsl": {
    "h": 55.714,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.07161,
    "h": 104.9
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

primary
#514D19
secondary
#3E4487
accent
#56DC4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514D19

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

Preview Lab → · Contrast checker → · Palette generator →

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