#514811#514811

#514811 is a dark, moderate yellow. Relative luminance 0.064; OKLCH L 39.9% C 0.073 H 99.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#514811
RGBrgb(81, 72, 17)
HSLhsl(52, 65%, 19%)
HSVhsv(52, 79%, 32%)
CMYKcmyk(0%, 11.1%, 79%, 68.2%)
CIE-LABlab(30.46, -3.27, 32.54)
CIE-LCHlch(30.46, 32.71, 95.74°)
OKLaboklab(39.94% -0.0123 0.0721)
OKLCHoklch(39.94% 0.073 99.7)
XYZxyz(5.8122, 6.4248, 1.4642)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514811 #111A51
analogous
#512811 #514811 #3A5111
triadic
#514811 #115148 #481151
tetradic
#514811 #115128 #111A51 #51113A
square
#514811 #115128 #111A51 #51113A
split-complementary
#514811 #113A51 #281151
monochromatic
#191605 #1E1B06 #514811 #84751C #B6A226

Accessibility & contrast

On white

9.19
#514811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#514811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514811
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514811#FFFFFF#000000##FFFFFF
##5148111.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504608
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#58423D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #514811;
/* rgb */ color: rgb(81, 72, 17);
/* oklch */ color: oklch(39.9% 0.073 99.7);
Tailwind
colors: {
  custom: {
    50: '#847a53',
    500: '#514811',
    950: '#000000',
  },
}
SCSS
$custom: #514811;
$custom-light: #847a53;
$custom-dark: #000000;
JSON
{
  "hex": "#514811",
  "rgb": {
    "r": 81,
    "g": 72,
    "b": 17
  },
  "hsl": {
    "h": 51.563,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39941,
    "c": 0.07313,
    "h": 99.7
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#514811
secondary
#34408A
accent
#57E840
background
#F8F7F4
surface
#EFEDE7
border
#CAC8C3
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514811

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

Preview Lab → · Contrast checker → · Palette generator →

#514811 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva