#514715#514715

#514715 is a dark, moderate yellow. Relative luminance 0.063; OKLCH L 39.7% C 0.069 H 97.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#514715
RGBrgb(81, 71, 21)
HSLhsl(50, 59%, 20%)
HSVhsv(50, 74%, 32%)
CMYKcmyk(0%, 12.3%, 74.1%, 68.2%)
CIE-LABlab(30.18, -2.41, 30.41)
CIE-LCHlch(30.18, 30.50, 94.54°)
OKLaboklab(39.73% -0.0094 0.0684)
OKLCHoklch(39.73% 0.069 97.8)
XYZxyz(5.7822, 6.3102, 1.6227)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#514715 #151F51
analogous
#512915 #514715 #3D5115
triadic
#514715 #155147 #471551
tetradic
#514715 #155129 #151F51 #51153D
square
#514715 #155129 #151F51 #51153D
split-complementary
#514715 #153D51 #291551
monochromatic
#181506 #201C08 #514715 #827222 #B29C2E

Accessibility & contrast

On white

9.28
#514715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#514715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #514715
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##514715#FFFFFF#000000##FFFFFF
##5147151.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F450E
Deuteranopia (green-blind)
#514918
Tritanopia (blue-blind)
#58413D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #514715;
/* rgb */ color: rgb(81, 71, 21);
/* oklch */ color: oklch(39.7% 0.069 97.8);
Tailwind
colors: {
  custom: {
    50: '#847955',
    500: '#514715',
    950: '#000000',
  },
}
SCSS
$custom: #514715;
$custom-light: #847955;
$custom-dark: #000000;
JSON
{
  "hex": "#514715",
  "rgb": {
    "r": 81,
    "g": 71,
    "b": 21
  },
  "hsl": {
    "h": 50,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.06903,
    "h": 97.8
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#514715
secondary
#394689
accent
#60E246
background
#F8F7F5
surface
#EFEDE9
border
#CAC8C5
text
#0B0903
muted
#7C7B78

Preview Lab

Preview with #514715

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

Preview Lab → · Contrast checker → · Palette generator →

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