#514A15#514A15

#514A15 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.5% C 0.072 H 101.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#514A15
RGBrgb(81, 74, 21)
HSLhsl(53, 59%, 20%)
HSVhsv(53, 74%, 32%)
CMYKcmyk(0%, 8.6%, 74.1%, 68.2%)
CIE-LABlab(31.12, -4.25, 31.37)
CIE-LCHlch(31.12, 31.65, 97.72°)
OKLaboklab(40.47% -0.0146 0.0704)
OKLCHoklch(40.47% 0.072 101.7)
XYZxyz(5.9777, 6.7013, 1.6879)
Luminance0.0670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A15 #151C51
analogous
#512C15 #514A15 #3A5115
triadic
#514A15 #15514A #4A1551
tetradic
#514A15 #15512C #151C51 #51153A
square
#514A15 #15512C #151C51 #51153A
split-complementary
#514A15 #153A51 #2C1551
monochromatic
#181606 #201E08 #514A15 #827622 #B2A32E

Accessibility & contrast

On white

8.97
#514A15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#514A15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514A15
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A15#FFFFFF#000000##FFFFFF
##514A151.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51480E
Deuteranopia (green-blind)
#534B18
Tritanopia (blue-blind)
#58443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514a15;
/* rgb */ color: rgb(81, 74, 21);
/* oklch */ color: oklch(40.5% 0.072 101.7);
Tailwind
colors: {
  custom: {
    50: '#847c56',
    500: '#514a15',
    950: '#000000',
  },
}
SCSS
$custom: #514a15;
$custom-light: #847c56;
$custom-dark: #000000;
JSON
{
  "hex": "#514a15",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 21
  },
  "hsl": {
    "h": 53,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.40473,
    "c": 0.07192,
    "h": 101.7
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#514A15
secondary
#394289
accent
#58E246
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514A15

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

Preview Lab → · Contrast checker → · Palette generator →

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