#514A2E#514A2E

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

Color values

HEX#514A2E
RGBrgb(81, 74, 46)
HSLhsl(48, 28%, 25%)
HSVhsv(48, 43%, 32%)
CMYKcmyk(0%, 8.6%, 43.2%, 68.2%)
CIE-LABlab(31.45, -1.80, 17.79)
CIE-LCHlch(31.45, 17.88, 95.77°)
OKLaboklab(40.84% -0.0044 0.0437)
OKLCHoklch(40.84% 0.044 95.8)
XYZxyz(6.3354, 6.8444, 3.5716)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A2E #2E3551
analogous
#51392E #514A2E #47512E
triadic
#514A2E #2E514A #4A2E51
tetradic
#514A2E #2E5139 #2E3551 #512E47
square
#514A2E #2E5139 #2E3551 #512E47
split-complementary
#514A2E #2E4751 #392E51
monochromatic
#14120B #2A2618 #514A2E #786E44 #9F915A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514A2E#FFFFFF#000000##FFFFFF
##514A2E1.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)
#4F492C
Deuteranopia (green-blind)
#514B2F
Tritanopia (blue-blind)
#564643
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514a2e;
/* rgb */ color: rgb(81, 74, 46);
/* oklch */ color: oklch(40.8% 0.044 95.8);
Tailwind
colors: {
  custom: {
    50: '#827c67',
    500: '#514a2e',
    950: '#000000',
  },
}
SCSS
$custom: #514a2e;
$custom-light: #827c67;
$custom-dark: #000000;
JSON
{
  "hex": "#514a2e",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 46
  },
  "hsl": {
    "h": 48,
    "s": 27.559,
    "l": 24.902
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.04391,
    "h": 95.8
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#514A2E
secondary
#586183
accent
#77C464
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0906
muted
#7C7B7A

Preview Lab

Preview with #514A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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