#514712#514712

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

Color values

HEX#514712
RGBrgb(81, 71, 18)
HSLhsl(50, 64%, 19%)
HSVhsv(50, 78%, 32%)
CMYKcmyk(0%, 12.3%, 77.8%, 68.2%)
CIE-LABlab(30.16, -2.60, 31.80)
CIE-LCHlch(30.16, 31.90, 94.68°)
OKLaboklab(39.7% -0.0103 0.0707)
OKLCHoklch(39.7% 0.071 98.3)
XYZxyz(5.7560, 6.2998, 1.4849)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514712 #121C51
analogous
#512812 #514712 #3C5112
triadic
#514712 #125147 #471251
tetradic
#514712 #125128 #121C51 #51123C
square
#514712 #125128 #121C51 #51123C
split-complementary
#514712 #123C51 #281251
monochromatic
#191606 #1F1B07 #514712 #83731D #B59F28

Accessibility & contrast

On white

9.29
#514712 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514712
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514712#FFFFFF#000000##FFFFFF
##5147121.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450A
Deuteranopia (green-blind)
#514815
Tritanopia (blue-blind)
#58413C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #514712;
/* rgb */ color: rgb(81, 71, 18);
/* oklch */ color: oklch(39.7% 0.071 98.3);
Tailwind
colors: {
  custom: {
    50: '#847954',
    500: '#514712',
    950: '#000000',
  },
}
SCSS
$custom: #514712;
$custom-light: #847954;
$custom-dark: #000000;
JSON
{
  "hex": "#514712",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 18
  },
  "hsl": {
    "h": 50.476,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.39703,
    "c": 0.07146,
    "h": 98.3
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#514712
secondary
#35428A
accent
#5BE741
background
#F8F7F4
surface
#EFEDE8
border
#CAC8C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514712

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

Preview Lab → · Contrast checker → · Palette generator →

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