#514A12#514A12

#514A12 is a dark, moderate yellow. Relative luminance 0.067; OKLCH L 40.4% C 0.074 H 102.0°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#514A12
RGBrgb(81, 74, 18)
HSLhsl(53, 64%, 19%)
HSVhsv(53, 78%, 32%)
CMYKcmyk(0%, 8.6%, 77.8%, 68.2%)
CIE-LABlab(31.09, -4.44, 32.72)
CIE-LCHlch(31.09, 33.02, 97.72°)
OKLaboklab(40.45% -0.0155 0.0727)
OKLCHoklch(40.45% 0.074 102)
XYZxyz(5.9516, 6.6908, 1.5501)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A12 #121951
analogous
#512B12 #514A12 #395112
triadic
#514A12 #12514A #4A1251
tetradic
#514A12 #12512B #121951 #511239
square
#514A12 #12512B #121951 #511239
split-complementary
#514A12 #123951 #2B1251
monochromatic
#191706 #1F1C07 #514A12 #83781D #B5A528

Accessibility & contrast

On white

8.98
#514A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#514A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514A12
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A12#FFFFFF#000000##FFFFFF
##514A121.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524709
Deuteranopia (green-blind)
#544A16
Tritanopia (blue-blind)
#58443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514a12;
/* rgb */ color: rgb(81, 74, 18);
/* oklch */ color: oklch(40.4% 0.074 102.0);
Tailwind
colors: {
  custom: {
    50: '#847c54',
    500: '#514a12',
    950: '#000000',
  },
}
SCSS
$custom: #514a12;
$custom-light: #847c54;
$custom-dark: #000000;
JSON
{
  "hex": "#514a12",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 53.333,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.0743,
    "h": 102
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#514A12
secondary
#353E8A
accent
#54E741
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514A12

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

Preview Lab → · Contrast checker → · Palette generator →

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