#514F12#514F12

#514F12 is a dark, moderate yellow. Relative luminance 0.074; OKLCH L 41.7% C 0.080 H 107.5°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#514F12
RGBrgb(81, 79, 18)
HSLhsl(58, 64%, 19%)
HSVhsv(58, 78%, 32%)
CMYKcmyk(0%, 2.5%, 77.8%, 68.2%)
CIE-LABlab(32.67, -7.44, 34.26)
CIE-LCHlch(32.67, 35.06, 102.25°)
OKLaboklab(41.7% -0.024 0.0759)
OKLCHoklch(41.7% 0.08 107.5)
XYZxyz(6.2987, 7.3852, 1.6658)
Luminance0.0738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514F12 #121451
analogous
#513012 #514F12 #345112
triadic
#514F12 #12514F #4F1251
tetradic
#514F12 #125130 #121451 #511234
square
#514F12 #125130 #121451 #511234
split-complementary
#514F12 #123451 #301251
monochromatic
#191806 #1F1E07 #514F12 #83801D #B5B128

Accessibility & contrast

On white

8.48
#514F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#514F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514F12
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514F12#FFFFFF#000000##FFFFFF
##514F121.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C08
Deuteranopia (green-blind)
#574E16
Tritanopia (blue-blind)
#574943
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #514f12;
/* rgb */ color: rgb(81, 79, 18);
/* oklch */ color: oklch(41.7% 0.080 107.5);
Tailwind
colors: {
  custom: {
    50: '#848055',
    500: '#514f12',
    950: '#000000',
  },
}
SCSS
$custom: #514f12;
$custom-light: #848055;
$custom-dark: #000000;
JSON
{
  "hex": "#514f12",
  "rgb": {
    "r": 81,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 58.095,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.417,
    "c": 0.07961,
    "h": 107.5
  },
  "luminance": 0.07385
}

Semantic roles & 50–950 ramp

primary
#514F12
secondary
#35388A
accent
#46E741
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514F12

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

Preview Lab → · Contrast checker → · Palette generator →

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