#514718#514718

#514718 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.8% C 0.066 H 97.2°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#514718
RGBrgb(81, 71, 24)
HSLhsl(49, 54%, 21%)
HSVhsv(49, 70%, 32%)
CMYKcmyk(0%, 12.3%, 70.4%, 68.2%)
CIE-LABlab(30.21, -2.20, 28.93)
CIE-LCHlch(30.21, 29.02, 94.35°)
OKLaboklab(39.76% -0.0083 0.0658)
OKLCHoklch(39.76% 0.066 97.2)
XYZxyz(5.8117, 6.3220, 1.7781)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514718 #182251
analogous
#512A18 #514718 #3E5118
triadic
#514718 #185147 #471851
tetradic
#514718 #18512A #182251 #51183E
square
#514718 #18512A #182251 #51183E
split-complementary
#514718 #183E51 #2A1851
monochromatic
#181507 #221E0A #514718 #807026 #AF9A34

Accessibility & contrast

On white

9.27
#514718 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#514718 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514718
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514718#FFFFFF#000000##FFFFFF
##5147181.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#51491A
Tritanopia (blue-blind)
#58413D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #514718;
/* rgb */ color: rgb(81, 71, 24);
/* oklch */ color: oklch(39.8% 0.066 97.2);
Tailwind
colors: {
  custom: {
    50: '#847a57',
    500: '#514718',
    950: '#000000',
  },
}
SCSS
$custom: #514718;
$custom-light: #847a57;
$custom-dark: #000000;
JSON
{
  "hex": "#514718",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 49.474,
    "s": 54.286,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39763,
    "c": 0.06636,
    "h": 97.2
  },
  "luminance": 0.06322
}

Semantic roles & 50–950 ramp

primary
#514718
secondary
#3D4A88
accent
#64DE4A
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514718

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

Preview Lab → · Contrast checker → · Palette generator →

#514718 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva