#514C17#514C17

#514C17 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 41.0% C 0.072 H 103.9°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#514C17
RGBrgb(81, 76, 23)
HSLhsl(55, 56%, 20%)
HSVhsv(55, 72%, 32%)
CMYKcmyk(0%, 6.2%, 71.6%, 68.2%)
CIE-LABlab(31.76, -5.33, 31.07)
CIE-LCHlch(31.76, 31.53, 99.73°)
OKLaboklab(40.99% -0.0174 0.0702)
OKLCHoklch(40.99% 0.072 103.9)
XYZxyz(6.1327, 6.9803, 1.8347)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514C17 #171C51
analogous
#512F17 #514C17 #395117
triadic
#514C17 #17514C #4C1751
tetradic
#514C17 #17512F #171C51 #511739
square
#514C17 #17512F #171C51 #511739
split-complementary
#514C17 #173951 #2F1751
monochromatic
#181607 #211F09 #514C17 #817925 #B0A532

Accessibility & contrast

On white

8.76
#514C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#514C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514C17
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514C17#FFFFFF#000000##FFFFFF
##514C171.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534910
Deuteranopia (green-blind)
#554C1A
Tritanopia (blue-blind)
#574641
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514c17;
/* rgb */ color: rgb(81, 76, 23);
/* oklch */ color: oklch(41.0% 0.072 103.9);
Tailwind
colors: {
  custom: {
    50: '#847d57',
    500: '#514c17',
    950: '#000000',
  },
}
SCSS
$custom: #514c17;
$custom-light: #847d57;
$custom-dark: #000000;
JSON
{
  "hex": "#514c17",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 23
  },
  "hsl": {
    "h": 54.828,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40991,
    "c": 0.0723,
    "h": 103.9
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#514C17
secondary
#3C4288
accent
#56DF49
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514C17

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

Preview Lab → · Contrast checker → · Palette generator →

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