#514B15#514B15

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

Color values

HEX#514B15
RGBrgb(81, 75, 21)
HSLhsl(54, 59%, 20%)
HSVhsv(54, 74%, 32%)
CMYKcmyk(0%, 7.4%, 74.1%, 68.2%)
CIE-LABlab(31.43, -4.86, 31.69)
CIE-LCHlch(31.43, 32.06, 98.72°)
OKLaboklab(40.72% -0.0163 0.0711)
OKLCHoklch(40.72% 0.073 102.9)
XYZxyz(6.0450, 6.8359, 1.7104)
Luminance0.0684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B15 #151B51
analogous
#512D15 #514B15 #395115
triadic
#514B15 #15514B #4B1551
tetradic
#514B15 #15512D #151B51 #511539
square
#514B15 #15512D #151B51 #511539
split-complementary
#514B15 #153951 #2D1551
monochromatic
#181706 #201E08 #514B15 #827822 #B2A52E

Accessibility & contrast

On white

8.87
#514B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514B15
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B15#FFFFFF#000000##FFFFFF
##514B151.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480D
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#584540
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b15;
/* rgb */ color: rgb(81, 75, 21);
/* oklch */ color: oklch(40.7% 0.073 102.9);
Tailwind
colors: {
  custom: {
    50: '#847d56',
    500: '#514b15',
    950: '#000000',
  },
}
SCSS
$custom: #514b15;
$custom-light: #847d56;
$custom-dark: #000000;
JSON
{
  "hex": "#514b15",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 54,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.40722,
    "c": 0.07295,
    "h": 102.9
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#514B15
secondary
#394189
accent
#55E246
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514B15

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

Preview Lab → · Contrast checker → · Palette generator →

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