#514B2A#514B2A

#514B2A is a dark, muted yellow. Relative luminance 0.069; OKLCH L 41.0% C 0.050 H 99.2°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#514B2A
RGBrgb(81, 75, 42)
HSLhsl(51, 32%, 24%)
HSVhsv(51, 48%, 32%)
CMYKcmyk(0%, 7.4%, 48.1%, 68.2%)
CIE-LABlab(31.69, -2.92, 20.52)
CIE-LCHlch(31.69, 20.72, 98.09°)
OKLaboklab(41.01% -0.0081 0.0497)
OKLCHoklch(41.01% 0.05 99.2)
XYZxyz(6.3275, 6.9489, 3.1980)
Luminance0.0695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B2A #2A3051
analogous
#51382A #514B2A #44512A
triadic
#514B2A #2A514B #4B2A51
tetradic
#514B2A #2A5138 #2A3051 #512A44
square
#514B2A #2A5138 #2A3051 #512A44
split-complementary
#514B2A #2A4451 #382A51
monochromatic
#14130A #292615 #514B2A #79703F #A29654

Accessibility & contrast

On white

8.79
#514B2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#514B2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B2A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B2A#FFFFFF#000000##FFFFFF
##514B2A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514927
Deuteranopia (green-blind)
#534C2B
Tritanopia (blue-blind)
#564743
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514b2a;
/* rgb */ color: rgb(81, 75, 42);
/* oklch */ color: oklch(41.0% 0.050 99.2);
Tailwind
colors: {
  custom: {
    50: '#837d64',
    500: '#514b2a',
    950: '#000000',
  },
}
SCSS
$custom: #514b2a;
$custom-light: #837d64;
$custom-dark: #000000;
JSON
{
  "hex": "#514b2a",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 42
  },
  "hsl": {
    "h": 50.769,
    "s": 31.707,
    "l": 24.118
  },
  "oklch": {
    "l": 0.41012,
    "c": 0.05031,
    "h": 99.2
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#514B2A
secondary
#545B83
accent
#70C860
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0B0905
muted
#7C7B7A

Preview Lab

Preview with #514B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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