#514E12#514E12

#514E12 is a dark, moderate yellow. Relative luminance 0.072; OKLCH L 41.4% C 0.079 H 106.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#514E12
RGBrgb(81, 78, 18)
HSLhsl(57, 64%, 19%)
HSVhsv(57, 78%, 32%)
CMYKcmyk(0%, 3.7%, 77.8%, 68.2%)
CIE-LABlab(32.35, -6.84, 33.95)
CIE-LCHlch(32.35, 34.64, 101.40°)
OKLaboklab(41.45% -0.0223 0.0753)
OKLCHoklch(41.45% 0.079 106.5)
XYZxyz(6.2272, 7.2420, 1.6420)
Luminance0.0724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514E12 #121551
analogous
#512F12 #514E12 #355112
triadic
#514E12 #12514E #4E1251
tetradic
#514E12 #12512F #121551 #511235
square
#514E12 #12512F #121551 #511235
split-complementary
#514E12 #123551 #2F1251
monochromatic
#191806 #1F1E07 #514E12 #837E1D #B5AE28

Accessibility & contrast

On white

8.58
#514E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#514E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514E12
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514E12#FFFFFF#000000##FFFFFF
##514E121.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B08
Deuteranopia (green-blind)
#574D16
Tritanopia (blue-blind)
#574842
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #514e12;
/* rgb */ color: rgb(81, 78, 18);
/* oklch */ color: oklch(41.4% 0.079 106.5);
Tailwind
colors: {
  custom: {
    50: '#847f55',
    500: '#514e12',
    950: '#000000',
  },
}
SCSS
$custom: #514e12;
$custom-light: #847f55;
$custom-dark: #000000;
JSON
{
  "hex": "#514e12",
  "rgb": {
    "r": 81,
    "g": 78,
    "b": 18
  },
  "hsl": {
    "h": 57.143,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.41447,
    "c": 0.0785,
    "h": 106.5
  },
  "luminance": 0.07242
}

Semantic roles & 50–950 ramp

primary
#514E12
secondary
#35398A
accent
#49E741
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #514E12

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

Preview Lab → · Contrast checker → · Palette generator →

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