#514A11#514A11

#514A11 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.075 H 102.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#514A11
RGBrgb(81, 74, 17)
HSLhsl(53, 65%, 19%)
HSVhsv(53, 79%, 32%)
CMYKcmyk(0%, 8.6%, 79%, 68.2%)
CIE-LABlab(31.08, -4.49, 33.15)
CIE-LCHlch(31.08, 33.45, 97.72°)
OKLaboklab(40.44% -0.0158 0.0734)
OKLCHoklch(40.44% 0.075 102.1)
XYZxyz(5.9436, 6.6876, 1.5080)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A11 #111851
analogous
#512A11 #514A11 #385111
triadic
#514A11 #11514A #4A1151
tetradic
#514A11 #11512A #111851 #511138
square
#514A11 #11512A #111851 #511138
split-complementary
#514A11 #113851 #2A1151
monochromatic
#191705 #1E1C06 #514A11 #84781C #B6A626

Accessibility & contrast

On white

8.98
#514A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514A11
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A11#FFFFFF#000000##FFFFFF
##514A111.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524708
Deuteranopia (green-blind)
#544A15
Tritanopia (blue-blind)
#58443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514a11;
/* rgb */ color: rgb(81, 74, 17);
/* oklch */ color: oklch(40.4% 0.075 102.1);
Tailwind
colors: {
  custom: {
    50: '#847c54',
    500: '#514a11',
    950: '#000000',
  },
}
SCSS
$custom: #514a11;
$custom-light: #847c54;
$custom-dark: #000000;
JSON
{
  "hex": "#514a11",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 17
  },
  "hsl": {
    "h": 53.438,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40437,
    "c": 0.07505,
    "h": 102.1
  },
  "luminance": 0.06687
}

Semantic roles & 50–950 ramp

primary
#514A11
secondary
#343D8A
accent
#52E840
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514A11

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

Preview Lab → · Contrast checker → · Palette generator →

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