#514E1B#514E1B

#514E1B is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.071 H 105.9°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#514E1B
RGBrgb(81, 78, 27)
HSLhsl(57, 50%, 21%)
HSVhsv(57, 67%, 32%)
CMYKcmyk(0%, 3.7%, 66.7%, 68.2%)
CIE-LABlab(32.43, -6.23, 29.79)
CIE-LCHlch(32.43, 30.44, 101.81°)
OKLaboklab(41.54% -0.0194 0.0682)
OKLCHoklch(41.54% 0.071 105.9)
XYZxyz(6.3158, 7.2774, 2.1087)
Luminance0.0728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E1B #1B1E51
analogous
#51331B #514E1B #39511B
triadic
#514E1B #1B514E #4E1B51
tetradic
#514E1B #1B5133 #1B1E51 #511B39
square
#514E1B #1B5133 #1B1E51 #511B39
split-complementary
#514E1B #1B3951 #331B51
monochromatic
#171608 #23220C #514E1B #7F7A2A #ADA63A

Accessibility & contrast

On white

8.55
#514E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#514E1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514E1B
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E1B#FFFFFF#000000##FFFFFF
##514E1B1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B15
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#574943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514e1b;
/* rgb */ color: rgb(81, 78, 27);
/* oklch */ color: oklch(41.5% 0.071 105.9);
Tailwind
colors: {
  custom: {
    50: '#847f5a',
    500: '#514e1b',
    950: '#000000',
  },
}
SCSS
$custom: #514e1b;
$custom-light: #847f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#514e1b",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 56.667,
    "s": 50,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41535,
    "c": 0.07088,
    "h": 105.9
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#514E1B
secondary
#414587
accent
#56DA4E
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A04
muted
#7C7C79

Preview Lab

Preview with #514E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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