#514B11#514B11

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

Color values

HEX#514B11
RGBrgb(81, 75, 17)
HSLhsl(54, 65%, 19%)
HSVhsv(54, 79%, 32%)
CMYKcmyk(0%, 7.4%, 79%, 68.2%)
CIE-LABlab(31.40, -5.10, 33.46)
CIE-LCHlch(31.40, 33.84, 98.66°)
OKLaboklab(40.69% -0.0175 0.074)
OKLCHoklch(40.69% 0.076 103.3)
XYZxyz(6.0109, 6.8222, 1.5304)
Luminance0.0682 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514B11 #111751
analogous
#512B11 #514B11 #375111
triadic
#514B11 #11514B #4B1151
tetradic
#514B11 #11512B #111751 #511137
square
#514B11 #11512B #111751 #511137
split-complementary
#514B11 #113751 #2B1151
monochromatic
#191705 #1E1C06 #514B11 #847A1C #B6A926

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514B11#FFFFFF#000000##FFFFFF
##514B111.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)
#534807
Deuteranopia (green-blind)
#544B15
Tritanopia (blue-blind)
#584540
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #514b11;
/* rgb */ color: rgb(81, 75, 17);
/* oklch */ color: oklch(40.7% 0.076 103.3);
Tailwind
colors: {
  custom: {
    50: '#847d54',
    500: '#514b11',
    950: '#000000',
  },
}
SCSS
$custom: #514b11;
$custom-light: #847d54;
$custom-dark: #000000;
JSON
{
  "hex": "#514b11",
  "rgb": {
    "r": 81,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 54.375,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40687,
    "c": 0.07605,
    "h": 103.3
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#514B11
secondary
#343C8A
accent
#4FE840
background
#F8F7F4
surface
#EFEEE8
border
#CAC9C4
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514B11

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

Preview Lab → · Contrast checker → · Palette generator →

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