#514A2F#514A2F

#514A2F is a dark, muted yellow. Relative luminance 0.069; OKLCH L 40.9% C 0.043 H 95.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#514A2F
RGBrgb(81, 74, 47)
HSLhsl(48, 27%, 25%)
HSVhsv(48, 42%, 32%)
CMYKcmyk(0%, 8.6%, 42%, 68.2%)
CIE-LABlab(31.47, -1.66, 17.20)
CIE-LCHlch(31.47, 17.28, 95.53°)
OKLaboklab(40.87% -0.004 0.0424)
OKLCHoklch(40.87% 0.043 95.3)
XYZxyz(6.3553, 6.8523, 3.6766)
Luminance0.0685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A2F #2F3651
analogous
#51392F #514A2F #47512F
triadic
#514A2F #2F514A #4A2F51
tetradic
#514A2F #2F5139 #2F3651 #512F47
square
#514A2F #2F5139 #2F3651 #512F47
split-complementary
#514A2F #2F4751 #392F51
monochromatic
#13120B #2A2719 #514A2F #786D45 #9E915C

Accessibility & contrast

On white

8.86
#514A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514A2F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A2F#FFFFFF#000000##FFFFFF
##514A2F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492D
Deuteranopia (green-blind)
#514B30
Tritanopia (blue-blind)
#564643
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514a2f;
/* rgb */ color: rgb(81, 74, 47);
/* oklch */ color: oklch(40.9% 0.043 95.3);
Tailwind
colors: {
  custom: {
    50: '#827c68',
    500: '#514a2f',
    950: '#000000',
  },
}
SCSS
$custom: #514a2f;
$custom-light: #827c68;
$custom-dark: #000000;
JSON
{
  "hex": "#514a2f",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 47
  },
  "hsl": {
    "h": 47.647,
    "s": 26.562,
    "l": 25.098
  },
  "oklch": {
    "l": 0.40865,
    "c": 0.04256,
    "h": 95.3
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#514A2F
secondary
#596282
accent
#78C365
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0906
muted
#7C7B7A

Preview Lab

Preview with #514A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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