#514B10#514B10

#514B10 is a dark, moderate yellow. Relative luminance 0.068; OKLCH L 40.7% C 0.077 H 103.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#514B10
RGBrgb(81, 75, 16)
HSLhsl(54, 67%, 19%)
HSVhsv(54, 80%, 32%)
CMYKcmyk(0%, 7.4%, 80.2%, 68.2%)
CIE-LABlab(31.39, -5.15, 33.87)
CIE-LCHlch(31.39, 34.26, 98.65°)
OKLaboklab(40.68% -0.0177 0.0747)
OKLCHoklch(40.68% 0.077 103.4)
XYZxyz(6.0032, 6.8191, 1.4901)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B10 #101651
analogous
#512B10 #514B10 #375110
triadic
#514B10 #10514B #4B1051
tetradic
#514B10 #10512B #101651 #511037
square
#514B10 #10512B #101651 #511037
split-complementary
#514B10 #103751 #2B1051
monochromatic
#1A1805 #1E1C06 #514B10 #847A1A #B7AA24

Accessibility & contrast

On white

8.88
#514B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#514B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514B10
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514B10#FFFFFF#000000##FFFFFF
##514B101.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534806
Deuteranopia (green-blind)
#544B14
Tritanopia (blue-blind)
#584540
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b10;
/* rgb */ color: rgb(81, 75, 16);
/* oklch */ color: oklch(40.7% 0.077 103.4);
Tailwind
colors: {
  custom: {
    50: '#847d53',
    500: '#514b10',
    950: '#000000',
  },
}
SCSS
$custom: #514b10;
$custom-light: #847d53;
$custom-dark: #000000;
JSON
{
  "hex": "#514b10",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 54.462,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40679,
    "c": 0.07676,
    "h": 103.4
  },
  "luminance": 0.06819
}

Semantic roles & 50–950 ramp

primary
#514B10
secondary
#323A8B
accent
#4EEA3E
background
#F8F7F4
surface
#EFEEE7
border
#CAC9C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514B10

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

Preview Lab → · Contrast checker → · Palette generator →

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