#514C12#514C12

#514C12 is a dark, moderate yellow. Relative luminance 0.070; OKLCH L 40.9% C 0.076 H 104.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#514C12
RGBrgb(81, 76, 18)
HSLhsl(55, 64%, 19%)
HSVhsv(55, 78%, 32%)
CMYKcmyk(0%, 6.2%, 77.8%, 68.2%)
CIE-LABlab(31.72, -5.65, 33.34)
CIE-LCHlch(31.72, 33.81, 99.61°)
OKLaboklab(40.95% -0.0189 0.074)
OKLCHoklch(40.95% 0.076 104.3)
XYZxyz(6.0872, 6.9621, 1.5953)
Luminance0.0696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514C12 #121751
analogous
#512D12 #514C12 #375112
triadic
#514C12 #12514C #4C1251
tetradic
#514C12 #12512D #121751 #511237
square
#514C12 #12512D #121751 #511237
split-complementary
#514C12 #123751 #2D1251
monochromatic
#191706 #1F1D07 #514C12 #837B1D #B5AA28

Accessibility & contrast

On white

8.78
#514C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#514C12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514C12
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514C12#FFFFFF#000000##FFFFFF
##514C121.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534908
Deuteranopia (green-blind)
#554C16
Tritanopia (blue-blind)
#584641
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #514c12;
/* rgb */ color: rgb(81, 76, 18);
/* oklch */ color: oklch(40.9% 0.076 104.3);
Tailwind
colors: {
  custom: {
    50: '#847d54',
    500: '#514c12',
    950: '#000000',
  },
}
SCSS
$custom: #514c12;
$custom-light: #847d54;
$custom-dark: #000000;
JSON
{
  "hex": "#514c12",
  "rgb": {
    "r": 81,
    "g": 76,
    "b": 18
  },
  "hsl": {
    "h": 55.238,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40945,
    "c": 0.07635,
    "h": 104.3
  },
  "luminance": 0.06962
}

Semantic roles & 50–950 ramp

primary
#514C12
secondary
#353C8A
accent
#4EE741
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514C12

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

Preview Lab → · Contrast checker → · Palette generator →

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