#514D15#514D15

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

Color values

HEX#514D15
RGBrgb(81, 77, 21)
HSLhsl(56, 59%, 20%)
HSVhsv(56, 74%, 32%)
CMYKcmyk(0%, 4.9%, 74.1%, 68.2%)
CIE-LABlab(32.06, -6.06, 32.33)
CIE-LCHlch(32.06, 32.89, 100.63°)
OKLaboklab(41.22% -0.0197 0.0725)
OKLCHoklch(41.22% 0.075 105.2)
XYZxyz(6.1828, 7.1115, 1.7563)
Luminance0.0711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D15 #151951
analogous
#512F15 #514D15 #375115
triadic
#514D15 #15514D #4D1551
tetradic
#514D15 #15512F #151951 #511537
square
#514D15 #15512F #151951 #511537
split-complementary
#514D15 #153751 #2F1551
monochromatic
#181706 #201F08 #514D15 #827B22 #B2A92E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514D15#FFFFFF#000000##FFFFFF
##514D151.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)
#544A0D
Deuteranopia (green-blind)
#564D19
Tritanopia (blue-blind)
#574742
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514d15;
/* rgb */ color: rgb(81, 77, 21);
/* oklch */ color: oklch(41.2% 0.075 105.2);
Tailwind
colors: {
  custom: {
    50: '#847e56',
    500: '#514d15',
    950: '#000000',
  },
}
SCSS
$custom: #514d15;
$custom-light: #847e56;
$custom-dark: #000000;
JSON
{
  "hex": "#514d15",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 21
  },
  "hsl": {
    "h": 56,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.41222,
    "c": 0.07509,
    "h": 105.2
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#514D15
secondary
#393E89
accent
#50E246
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514D15

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

Preview Lab → · Contrast checker → · Palette generator →

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