#514B1F#514B1F

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

Color values

HEX#514B1F
RGBrgb(81, 75, 31)
HSLhsl(53, 45%, 22%)
HSVhsv(53, 62%, 32%)
CMYKcmyk(0%, 7.4%, 61.7%, 68.2%)
CIE-LABlab(31.53, -4.08, 26.67)
CIE-LCHlch(31.53, 26.98, 98.70°)
OKLaboklab(40.84% -0.0128 0.0621)
OKLCHoklch(40.84% 0.063 101.6)
XYZxyz(6.1569, 6.8806, 2.2998)
Luminance0.0688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B1F #1F2551
analogous
#51321F #514B1F #3E511F
triadic
#514B1F #1F514B #4B1F51
tetradic
#514B1F #1F5132 #1F2551 #511F3E
square
#514B1F #1F5132 #1F2551 #511F3E
split-complementary
#514B1F #1F3E51 #321F51
monochromatic
#161408 #25220E #514B1F #7D7430 #AA9D41

Accessibility & contrast

On white

8.84
#514B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#514B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B1F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B1F#FFFFFF#000000##FFFFFF
##514B1F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52491B
Deuteranopia (green-blind)
#544B21
Tritanopia (blue-blind)
#574641
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b1f;
/* rgb */ color: rgb(81, 75, 31);
/* oklch */ color: oklch(40.8% 0.063 101.6);
Tailwind
colors: {
  custom: {
    50: '#837d5c',
    500: '#514b1f',
    950: '#000000',
  },
}
SCSS
$custom: #514b1f;
$custom-light: #837d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#514b1f",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 31
  },
  "hsl": {
    "h": 52.8,
    "s": 44.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40837,
    "c": 0.06338,
    "h": 101.6
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#514B1F
secondary
#464E86
accent
#63D453
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0904
muted
#7C7B79

Preview Lab

Preview with #514B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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