#514E17#514E17

#514E17 is a dark, moderate yellow. Relative luminance 0.073; OKLCH L 41.5% C 0.075 H 106.2°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#514E17
RGBrgb(81, 78, 23)
HSLhsl(57, 56%, 20%)
HSVhsv(57, 72%, 32%)
CMYKcmyk(0%, 3.7%, 71.6%, 68.2%)
CIE-LABlab(32.39, -6.53, 31.73)
CIE-LCHlch(32.39, 32.39, 101.63°)
OKLaboklab(41.49% -0.0208 0.0716)
OKLCHoklch(41.49% 0.075 106.2)
XYZxyz(6.2726, 7.2602, 1.8814)
Luminance0.0726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E17 #171A51
analogous
#513117 #514E17 #375117
triadic
#514E17 #17514E #4E1751
tetradic
#514E17 #175131 #171A51 #511737
square
#514E17 #175131 #171A51 #511737
split-complementary
#514E17 #173751 #311751
monochromatic
#181707 #212009 #514E17 #817C25 #B0AA32

Accessibility & contrast

On white

8.56
#514E17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#514E17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514E17
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E17#FFFFFF#000000##FFFFFF
##514E171.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B10
Deuteranopia (green-blind)
#564D1A
Tritanopia (blue-blind)
#574943
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514e17;
/* rgb */ color: rgb(81, 78, 23);
/* oklch */ color: oklch(41.5% 0.075 106.2);
Tailwind
colors: {
  custom: {
    50: '#847f57',
    500: '#514e17',
    950: '#000000',
  },
}
SCSS
$custom: #514e17;
$custom-light: #847f57;
$custom-dark: #000000;
JSON
{
  "hex": "#514e17",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 56.897,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41493,
    "c": 0.07452,
    "h": 106.2
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#514E17
secondary
#3C4088
accent
#50DF49
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514E17

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

Preview Lab → · Contrast checker → · Palette generator →

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