#514716#514716

#514716 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.068 H 97.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#514716
RGBrgb(81, 71, 22)
HSLhsl(50, 57%, 20%)
HSVhsv(50, 73%, 32%)
CMYKcmyk(0%, 12.3%, 72.8%, 68.2%)
CIE-LABlab(30.19, -2.35, 29.92)
CIE-LCHlch(30.19, 30.01, 94.48°)
OKLaboklab(39.74% -0.009 0.0676)
OKLCHoklch(39.74% 0.068 97.6)
XYZxyz(5.7917, 6.3140, 1.6726)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514716 #162051
analogous
#512A16 #514716 #3D5116
triadic
#514716 #165147 #471651
tetradic
#514716 #16512A #162051 #51163D
square
#514716 #16512A #162051 #51163D
split-complementary
#514716 #163D51 #2A1651
monochromatic
#181507 #211D09 #514716 #817123 #B19B30

Accessibility & contrast

On white

9.28
#514716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514716
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514716#FFFFFF#000000##FFFFFF
##5147161.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4510
Deuteranopia (green-blind)
#514919
Tritanopia (blue-blind)
#58413D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #514716;
/* rgb */ color: rgb(81, 71, 22);
/* oklch */ color: oklch(39.7% 0.068 97.6);
Tailwind
colors: {
  custom: {
    50: '#847a56',
    500: '#514716',
    950: '#000000',
  },
}
SCSS
$custom: #514716;
$custom-light: #847a56;
$custom-dark: #000000;
JSON
{
  "hex": "#514716",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 22
  },
  "hsl": {
    "h": 49.831,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39742,
    "c": 0.06816,
    "h": 97.6
  },
  "luminance": 0.06314
}

Semantic roles & 50–950 ramp

primary
#514716
secondary
#3A4888
accent
#61E147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514716

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

Preview Lab → · Contrast checker → · Palette generator →

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