#514810#514810

#514810 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.074 H 99.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#514810
RGBrgb(81, 72, 16)
HSLhsl(52, 67%, 19%)
HSVhsv(52, 80%, 32%)
CMYKcmyk(0%, 11.1%, 80.2%, 68.2%)
CIE-LABlab(30.45, -3.33, 32.97)
CIE-LCHlch(30.45, 33.14, 95.76°)
OKLaboklab(39.93% -0.0126 0.0728)
OKLCHoklch(39.93% 0.074 99.8)
XYZxyz(5.8045, 6.4217, 1.4239)
Luminance0.0642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514810 #101951
analogous
#512810 #514810 #3A5110
triadic
#514810 #105148 #481051
tetradic
#514810 #105128 #101951 #51103A
square
#514810 #105128 #101951 #51103A
split-complementary
#514810 #103A51 #281051
monochromatic
#1A1705 #1E1B06 #514810 #84751A #B7A324

Accessibility & contrast

On white

9.19
#514810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#514810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514810
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514810#FFFFFF#000000##FFFFFF
##5148101.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504607
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#58423D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #514810;
/* rgb */ color: rgb(81, 72, 16);
/* oklch */ color: oklch(39.9% 0.074 99.8);
Tailwind
colors: {
  custom: {
    50: '#847a53',
    500: '#514810',
    950: '#000000',
  },
}
SCSS
$custom: #514810;
$custom-light: #847a53;
$custom-dark: #000000;
JSON
{
  "hex": "#514810",
  "rgb": {
    "r": 81,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 51.692,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39933,
    "c": 0.07385,
    "h": 99.8
  },
  "luminance": 0.06421
}

Semantic roles & 50–950 ramp

primary
#514810
secondary
#323E8B
accent
#56EA3E
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #514810

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

Preview Lab → · Contrast checker → · Palette generator →

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