#514B1B#514B1B

#514B1B is a dark, moderate yellow. Relative luminance 0.069; OKLCH L 40.8% C 0.068 H 102.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#514B1B
RGBrgb(81, 75, 27)
HSLhsl(53, 50%, 21%)
HSVhsv(53, 67%, 32%)
CMYKcmyk(0%, 7.4%, 66.7%, 68.2%)
CIE-LABlab(31.49, -4.42, 28.76)
CIE-LCHlch(31.49, 29.10, 98.74°)
OKLaboklab(40.79% -0.0143 0.066)
OKLCHoklch(40.79% 0.068 102.2)
XYZxyz(6.1075, 6.8609, 2.0393)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B1B #1B2151
analogous
#51301B #514B1B #3C511B
triadic
#514B1B #1B514B #4B1B51
tetradic
#514B1B #1B5130 #1B2151 #511B3C
square
#514B1B #1B5130 #1B2151 #511B3C
split-complementary
#514B1B #1B3C51 #301B51
monochromatic
#171508 #23200C #514B1B #7F752A #ADA03A

Accessibility & contrast

On white

8.85
#514B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B1B
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B1B#FFFFFF#000000##FFFFFF
##514B1B1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524916
Deuteranopia (green-blind)
#544B1E
Tritanopia (blue-blind)
#574641
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b1b;
/* rgb */ color: rgb(81, 75, 27);
/* oklch */ color: oklch(40.8% 0.068 102.2);
Tailwind
colors: {
  custom: {
    50: '#847d5a',
    500: '#514b1b',
    950: '#000000',
  },
}
SCSS
$custom: #514b1b;
$custom-light: #847d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#514b1b",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 27
  },
  "hsl": {
    "h": 53.333,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.40786,
    "c": 0.0675,
    "h": 102.2
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#514B1B
secondary
#414987
accent
#5EDA4E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #514B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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