#514B1A#514B1A

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

Color values

HEX#514B1A
RGBrgb(81, 75, 26)
HSLhsl(53, 51%, 21%)
HSVhsv(53, 68%, 32%)
CMYKcmyk(0%, 7.4%, 67.9%, 68.2%)
CIE-LABlab(31.48, -4.50, 29.27)
CIE-LCHlch(31.48, 29.61, 98.74°)
OKLaboklab(40.77% -0.0146 0.0669)
OKLCHoklch(40.77% 0.068 102.3)
XYZxyz(6.0961, 6.8563, 1.9794)
Luminance0.0686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B1A #1A2051
analogous
#512F1A #514B1A #3B511A
triadic
#514B1A #1A514B #4B1A51
tetradic
#514B1A #1A512F #1A2051 #511A3B
square
#514B1A #1A512F #1A2051 #511A3B
split-complementary
#514B1A #1A3B51 #2F1A51
monochromatic
#171507 #23200B #514B1A #7F7629 #AEA138

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514B1A#FFFFFF#000000##FFFFFF
##514B1A1.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)
#524914
Deuteranopia (green-blind)
#544B1D
Tritanopia (blue-blind)
#574641
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b1a;
/* rgb */ color: rgb(81, 75, 26);
/* oklch */ color: oklch(40.8% 0.068 102.3);
Tailwind
colors: {
  custom: {
    50: '#847d59',
    500: '#514b1a',
    950: '#000000',
  },
}
SCSS
$custom: #514b1a;
$custom-light: #847d59;
$custom-dark: #000000;
JSON
{
  "hex": "#514b1a",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 26
  },
  "hsl": {
    "h": 53.455,
    "s": 51.402,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40774,
    "c": 0.06847,
    "h": 102.3
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#514B1A
secondary
#404787
accent
#5CDB4D
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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