#514813#514813

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

Color values

HEX#514813
RGBrgb(81, 72, 19)
HSLhsl(51, 62%, 20%)
HSVhsv(51, 77%, 32%)
CMYKcmyk(0%, 11.1%, 76.5%, 68.2%)
CIE-LABlab(30.48, -3.16, 31.66)
CIE-LCHlch(30.48, 31.81, 95.69°)
OKLaboklab(39.96% -0.0117 0.0706)
OKLCHoklch(39.96% 0.072 99.4)
XYZxyz(5.8285, 6.4314, 1.5503)
Luminance0.0643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514813 #131C51
analogous
#512913 #514813 #3B5113
triadic
#514813 #135148 #481351
tetradic
#514813 #135129 #131C51 #51133B
square
#514813 #135129 #131C51 #51133B
split-complementary
#514813 #133B51 #291351
monochromatic
#191606 #1F1C07 #514813 #83741F #B4A02A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##514813#FFFFFF#000000##FFFFFF
##5148131.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)
#50460B
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#58423D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #514813;
/* rgb */ color: rgb(81, 72, 19);
/* oklch */ color: oklch(40.0% 0.072 99.4);
Tailwind
colors: {
  custom: {
    50: '#847a54',
    500: '#514813',
    950: '#000000',
  },
}
SCSS
$custom: #514813;
$custom-light: #847a54;
$custom-dark: #000000;
JSON
{
  "hex": "#514813",
  "rgb": {
    "r": 81,
    "g": 72,
    "b": 19
  },
  "hsl": {
    "h": 51.29,
    "s": 62,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39959,
    "c": 0.0716,
    "h": 99.4
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#514813
secondary
#36428A
accent
#5AE543
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514813

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

Preview Lab → · Contrast checker → · Palette generator →

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