#514D10#514D10

#514D10 is a dark, moderate yellow. Relative luminance 0.071; OKLCH L 41.2% C 0.079 H 105.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#514D10
RGBrgb(81, 77, 16)
HSLhsl(56, 67%, 19%)
HSVhsv(56, 80%, 32%)
CMYKcmyk(0%, 4.9%, 80.2%, 68.2%)
CIE-LABlab(32.02, -6.36, 34.47)
CIE-LCHlch(32.02, 35.05, 100.45°)
OKLaboklab(41.18% -0.0211 0.076)
OKLCHoklch(41.18% 0.079 105.6)
XYZxyz(6.1410, 7.0947, 1.5361)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D10 #101451
analogous
#512D10 #514D10 #355110
triadic
#514D10 #10514D #4D1051
tetradic
#514D10 #10512D #101451 #511035
square
#514D10 #10512D #101451 #511035
split-complementary
#514D10 #103551 #2D1051
monochromatic
#1A1805 #1E1C06 #514D10 #847E1A #B7AE24

Accessibility & contrast

On white

8.68
#514D10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#514D10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514D10
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514D10#FFFFFF#000000##FFFFFF
##514D101.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A05
Deuteranopia (green-blind)
#564C14
Tritanopia (blue-blind)
#584741
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514d10;
/* rgb */ color: rgb(81, 77, 16);
/* oklch */ color: oklch(41.2% 0.079 105.6);
Tailwind
colors: {
  custom: {
    50: '#847e53',
    500: '#514d10',
    950: '#000000',
  },
}
SCSS
$custom: #514d10;
$custom-light: #847e53;
$custom-dark: #000000;
JSON
{
  "hex": "#514d10",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 16
  },
  "hsl": {
    "h": 56.308,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.4118,
    "c": 0.07884,
    "h": 105.6
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#514D10
secondary
#32388B
accent
#48EA3E
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514D10

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

Preview Lab → · Contrast checker → · Palette generator →

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