#514D12#514D12

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

Color values

HEX#514D12
RGBrgb(81, 77, 18)
HSLhsl(56, 64%, 19%)
HSVhsv(56, 78%, 32%)
CMYKcmyk(0%, 4.9%, 77.8%, 68.2%)
CIE-LABlab(32.04, -6.25, 33.64)
CIE-LCHlch(32.04, 34.22, 100.52°)
OKLaboklab(41.2% -0.0206 0.0746)
OKLCHoklch(41.2% 0.077 105.4)
XYZxyz(6.1566, 7.1010, 1.6185)
Luminance0.0710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514D12 #121651
analogous
#512E12 #514D12 #365112
triadic
#514D12 #12514D #4D1251
tetradic
#514D12 #12512E #121651 #511236
square
#514D12 #12512E #121651 #511236
split-complementary
#514D12 #123651 #2E1251
monochromatic
#191806 #1F1D07 #514D12 #837D1D #B5AC28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514D12#FFFFFF#000000##FFFFFF
##514D121.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)
#544A08
Deuteranopia (green-blind)
#564D16
Tritanopia (blue-blind)
#584741
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514d12;
/* rgb */ color: rgb(81, 77, 18);
/* oklch */ color: oklch(41.2% 0.077 105.4);
Tailwind
colors: {
  custom: {
    50: '#847e54',
    500: '#514d12',
    950: '#000000',
  },
}
SCSS
$custom: #514d12;
$custom-light: #847e54;
$custom-dark: #000000;
JSON
{
  "hex": "#514d12",
  "rgb": {
    "r": 81,
    "g": 77,
    "b": 18
  },
  "hsl": {
    "h": 56.19,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41196,
    "c": 0.07741,
    "h": 105.4
  },
  "luminance": 0.07101
}

Semantic roles & 50–950 ramp

primary
#514D12
secondary
#353A8A
accent
#4CE741
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514D12

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

Preview Lab → · Contrast checker → · Palette generator →

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