#514A2D#514A2D

#514A2D is a dark, muted yellow. Relative luminance 0.068; OKLCH L 40.8% C 0.045 H 96.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#514A2D
RGBrgb(81, 74, 45)
HSLhsl(48, 29%, 25%)
HSVhsv(48, 44%, 32%)
CMYKcmyk(0%, 8.6%, 44.4%, 68.2%)
CIE-LABlab(31.43, -1.93, 18.38)
CIE-LCHlch(31.43, 18.48, 95.99°)
OKLaboklab(40.82% -0.0049 0.045)
OKLCHoklch(40.82% 0.045 96.2)
XYZxyz(6.3159, 6.8366, 3.4690)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A2D #2D3451
analogous
#51382D #514A2D #46512D
triadic
#514A2D #2D514A #4A2D51
tetradic
#514A2D #2D5138 #2D3451 #512D46
square
#514A2D #2D5138 #2D3451 #512D46
split-complementary
#514A2D #2D4651 #382D51
monochromatic
#14120B #2A2617 #514A2D #786E43 #A09259

Accessibility & contrast

On white

8.87
#514A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#514A2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514A2D
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A2D#FFFFFF#000000##FFFFFF
##514A2D1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#514B2E
Tritanopia (blue-blind)
#564643
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514a2d;
/* rgb */ color: rgb(81, 74, 45);
/* oklch */ color: oklch(40.8% 0.045 96.2);
Tailwind
colors: {
  custom: {
    50: '#837c66',
    500: '#514a2d',
    950: '#000000',
  },
}
SCSS
$custom: #514a2d;
$custom-light: #837c66;
$custom-dark: #000000;
JSON
{
  "hex": "#514a2d",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 45
  },
  "hsl": {
    "h": 48.333,
    "s": 28.571,
    "l": 24.706
  },
  "oklch": {
    "l": 0.40824,
    "c": 0.04526,
    "h": 96.2
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#514A2D
secondary
#576083
accent
#76C563
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0906
muted
#7C7B7A

Preview Lab

Preview with #514A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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