#514A17#514A17

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

Color values

HEX#514A17
RGBrgb(81, 74, 23)
HSLhsl(53, 56%, 20%)
HSVhsv(53, 72%, 32%)
CMYKcmyk(0%, 8.6%, 71.6%, 68.2%)
CIE-LABlab(31.14, -4.12, 30.42)
CIE-LCHlch(31.14, 30.69, 97.71°)
OKLaboklab(40.49% -0.0139 0.0688)
OKLCHoklch(40.49% 0.07 101.5)
XYZxyz(5.9970, 6.7090, 1.7895)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A17 #171E51
analogous
#512D17 #514A17 #3B5117
triadic
#514A17 #17514A #4A1751
tetradic
#514A17 #17512D #171E51 #51173B
square
#514A17 #17512D #171E51 #51173B
split-complementary
#514A17 #173B51 #2D1751
monochromatic
#181607 #211E09 #514A17 #817625 #B0A132

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514A17#FFFFFF#000000##FFFFFF
##514A171.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)
#514811
Deuteranopia (green-blind)
#534B1A
Tritanopia (blue-blind)
#58443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514a17;
/* rgb */ color: rgb(81, 74, 23);
/* oklch */ color: oklch(40.5% 0.070 101.5);
Tailwind
colors: {
  custom: {
    50: '#847c57',
    500: '#514a17',
    950: '#000000',
  },
}
SCSS
$custom: #514a17;
$custom-light: #847c57;
$custom-dark: #000000;
JSON
{
  "hex": "#514a17",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 23
  },
  "hsl": {
    "h": 52.759,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40493,
    "c": 0.07019,
    "h": 101.5
  },
  "luminance": 0.06709
}

Semantic roles & 50–950 ramp

primary
#514A17
secondary
#3C4588
accent
#5BDF49
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514A17

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

Preview Lab → · Contrast checker → · Palette generator →

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