#514A0F#514A0F

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

Color values

HEX#514A0F
RGBrgb(81, 74, 15)
HSLhsl(54, 69%, 19%)
HSVhsv(54, 81%, 32%)
CMYKcmyk(0%, 8.6%, 81.5%, 68.2%)
CIE-LABlab(31.07, -4.60, 33.98)
CIE-LCHlch(31.07, 34.29, 97.71°)
OKLaboklab(40.42% -0.0163 0.0747)
OKLCHoklch(40.42% 0.076 102.3)
XYZxyz(5.9286, 6.6816, 1.4292)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A0F #0F1651
analogous
#51290F #514A0F #37510F
triadic
#514A0F #0F514A #4A0F51
tetradic
#514A0F #0F5129 #0F1651 #510F37
square
#514A0F #0F5129 #0F1651 #510F37
split-complementary
#514A0F #0F3751 #290F51
monochromatic
#1A1805 #1D1B05 #514A0F #857919 #B8A822

Accessibility & contrast

On white

8.99
#514A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #514A0F
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514A0F#FFFFFF#000000##FFFFFF
##514A0F1.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #514a0f;
/* rgb */ color: rgb(81, 74, 15);
/* oklch */ color: oklch(40.4% 0.076 102.3);
Tailwind
colors: {
  custom: {
    50: '#857c52',
    500: '#514a0f',
    950: '#000000',
  },
}
SCSS
$custom: #514a0f;
$custom-light: #857c52;
$custom-dark: #000000;
JSON
{
  "hex": "#514a0f",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 53.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.40422,
    "c": 0.07644,
    "h": 102.3
  },
  "luminance": 0.06681
}

Semantic roles & 50–950 ramp

primary
#514A0F
secondary
#313A8B
accent
#4FEC3C
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0902
muted
#7C7B78

Preview Lab

Preview with #514A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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