#514B0F#514B0F

#514B0F is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.7% C 0.077 H 103.4°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#514B0F
RGBrgb(81, 75, 15)
HSLhsl(55, 69%, 19%)
HSVhsv(55, 81%, 32%)
CMYKcmyk(0%, 7.4%, 81.5%, 68.2%)
CIE-LABlab(31.38, -5.20, 34.27)
CIE-LCHlch(31.38, 34.67, 98.63°)
OKLaboklab(40.67% -0.018 0.0753)
OKLCHoklch(40.67% 0.077 103.4)
XYZxyz(5.9959, 6.8162, 1.4517)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B0F #0F1551
analogous
#512A0F #514B0F #36510F
triadic
#514B0F #0F514B #4B0F51
tetradic
#514B0F #0F512A #0F1551 #510F36
square
#514B0F #0F512A #0F1551 #510F36
split-complementary
#514B0F #0F3651 #2A0F51
monochromatic
#1A1805 #1D1B05 #514B0F #857B19 #B8AB22

Accessibility & contrast

On white

8.89
#514B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#514B0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B0F
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B0F#FFFFFF#000000##FFFFFF
##514B0F1.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534804
Deuteranopia (green-blind)
#544B13
Tritanopia (blue-blind)
#584540
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b0f;
/* rgb */ color: rgb(81, 75, 15);
/* oklch */ color: oklch(40.7% 0.077 103.4);
Tailwind
colors: {
  custom: {
    50: '#847d53',
    500: '#514b0f',
    950: '#000000',
  },
}
SCSS
$custom: #514b0f;
$custom-light: #847d53;
$custom-dark: #000000;
JSON
{
  "hex": "#514b0f",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 54.545,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40671,
    "c": 0.07743,
    "h": 103.4
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#514B0F
secondary
#31398B
accent
#4CEC3C
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #514B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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