#514B2B#514B2B

#514B2B is a dark, muted yellow. Relative luminance 0.070; OKLCH L 41.0% C 0.049 H 98.9°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#514B2B
RGBrgb(81, 75, 43)
HSLhsl(51, 31%, 24%)
HSVhsv(51, 47%, 32%)
CMYKcmyk(0%, 7.4%, 46.9%, 68.2%)
CIE-LABlab(31.71, -2.80, 19.94)
CIE-LCHlch(31.71, 20.13, 97.98°)
OKLaboklab(41.03% -0.0076 0.0484)
OKLCHoklch(41.03% 0.049 98.9)
XYZxyz(6.3456, 6.9561, 3.2934)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B2B #2B3151
analogous
#51382B #514B2B #44512B
triadic
#514B2B #2B514B #4B2B51
tetradic
#514B2B #2B5138 #2B3151 #512B44
square
#514B2B #2B5138 #2B3151 #512B44
split-complementary
#514B2B #2B4451 #382B51
monochromatic
#14130B #292616 #514B2B #797040 #A19555

Accessibility & contrast

On white

8.78
#514B2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B2B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B2B#FFFFFF#000000##FFFFFF
##514B2B1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514929
Deuteranopia (green-blind)
#524C2C
Tritanopia (blue-blind)
#564743
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514b2b;
/* rgb */ color: rgb(81, 75, 43);
/* oklch */ color: oklch(41.0% 0.049 98.9);
Tailwind
colors: {
  custom: {
    50: '#837d65',
    500: '#514b2b',
    950: '#000000',
  },
}
SCSS
$custom: #514b2b;
$custom-light: #837d65;
$custom-dark: #000000;
JSON
{
  "hex": "#514b2b",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 43
  },
  "hsl": {
    "h": 50.526,
    "s": 30.645,
    "l": 24.314
  },
  "oklch": {
    "l": 0.4103,
    "c": 0.04901,
    "h": 98.9
  },
  "luminance": 0.06956
}

Semantic roles & 50–950 ramp

primary
#514B2B
secondary
#555C83
accent
#71C761
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0905
muted
#7C7B7A

Preview Lab

Preview with #514B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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