#514A10#514A10

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

Color values

HEX#514A10
RGBrgb(81, 74, 16)
HSLhsl(54, 67%, 19%)
HSVhsv(54, 80%, 32%)
CMYKcmyk(0%, 8.6%, 80.2%, 68.2%)
CIE-LABlab(31.08, -4.55, 33.57)
CIE-LCHlch(31.08, 33.88, 97.71°)
OKLaboklab(40.43% -0.016 0.074)
OKLCHoklch(40.43% 0.076 102.2)
XYZxyz(5.9359, 6.6846, 1.4677)
Luminance0.0668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514A10 #101751
analogous
#512A10 #514A10 #385110
triadic
#514A10 #10514A #4A1051
tetradic
#514A10 #10512A #101751 #511038
square
#514A10 #10512A #101751 #511038
split-complementary
#514A10 #103851 #2A1051
monochromatic
#1A1705 #1E1B06 #514A10 #84791A #B7A724

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514A10#FFFFFF#000000##FFFFFF
##514A101.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)
#524706
Deuteranopia (green-blind)
#544A14
Tritanopia (blue-blind)
#58443F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #514a10;
/* rgb */ color: rgb(81, 74, 16);
/* oklch */ color: oklch(40.4% 0.076 102.2);
Tailwind
colors: {
  custom: {
    50: '#847c53',
    500: '#514a10',
    950: '#000000',
  },
}
SCSS
$custom: #514a10;
$custom-light: #847c53;
$custom-dark: #000000;
JSON
{
  "hex": "#514a10",
  "rgb": {
    "r": 81,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 53.538,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40429,
    "c": 0.07576,
    "h": 102.2
  },
  "luminance": 0.06684
}

Semantic roles & 50–950 ramp

primary
#514A10
secondary
#323C8B
accent
#50EA3E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514A10

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

Preview Lab → · Contrast checker → · Palette generator →

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