#514916#514916

#514916 is a dark, moderate yellow. Relative luminance 0.066; OKLCH L 40.2% C 0.070 H 100.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#514916
RGBrgb(81, 73, 22)
HSLhsl(52, 57%, 20%)
HSVhsv(52, 73%, 32%)
CMYKcmyk(0%, 9.9%, 72.8%, 68.2%)
CIE-LABlab(30.81, -3.57, 30.57)
CIE-LCHlch(30.81, 30.78, 96.67°)
OKLaboklab(40.24% -0.0125 0.0689)
OKLCHoklch(40.24% 0.07 100.3)
XYZxyz(5.9210, 6.5726, 1.7157)
Luminance0.0657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514916 #161E51
analogous
#512B16 #514916 #3C5116
triadic
#514916 #165149 #491651
tetradic
#514916 #16512B #161E51 #51163C
square
#514916 #16512B #161E51 #51163C
split-complementary
#514916 #163C51 #2B1651
monochromatic
#181607 #211E09 #514916 #817423 #B1A030

Accessibility & contrast

On white

9.07
#514916 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#514916 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514916
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514916#FFFFFF#000000##FFFFFF
##5149161.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50470F
Deuteranopia (green-blind)
#534A19
Tritanopia (blue-blind)
#58433E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514916;
/* rgb */ color: rgb(81, 73, 22);
/* oklch */ color: oklch(40.2% 0.070 100.3);
Tailwind
colors: {
  custom: {
    50: '#847b56',
    500: '#514916',
    950: '#000000',
  },
}
SCSS
$custom: #514916;
$custom-light: #847b56;
$custom-dark: #000000;
JSON
{
  "hex": "#514916",
  "rgb": {
    "r": 81,
    "g": 73,
    "b": 22
  },
  "hsl": {
    "h": 51.864,
    "s": 57.282,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40235,
    "c": 0.07006,
    "h": 100.3
  },
  "luminance": 0.06572
}

Semantic roles & 50–950 ramp

primary
#514916
secondary
#3A4588
accent
#5CE147
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514916

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

Preview Lab → · Contrast checker → · Palette generator →

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