#515713#515713

#515713 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.088 H 114.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#515713
RGBrgb(81, 87, 19)
HSLhsl(65, 64%, 21%)
HSVhsv(65, 78%, 34%)
CMYKcmyk(6.9%, 0%, 78.2%, 65.9%)
CIE-LABlab(35.23, -12.04, 36.32)
CIE-LCHlch(35.23, 38.26, 108.33°)
OKLaboklab(43.75% -0.0367 0.0805)
OKLCHoklch(43.75% 0.088 114.5)
XYZxyz(6.9193, 8.6129, 1.9139)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515713 #191357
analogous
#573B13 #515713 #2F5713
triadic
#515713 #135157 #571351
tetradic
#515713 #13573B #191357 #57132F
square
#515713 #13573B #191357 #57132F
split-complementary
#515713 #132F57 #3B1357
monochromatic
#171905 #222508 #515713 #80891E #AFBB29

Accessibility & contrast

On white

7.71
#515713 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#515713 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515713
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515713#FFFFFF#000000##FFFFFF
##5157131.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5206
Deuteranopia (green-blind)
#5E5319
Tritanopia (blue-blind)
#57514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #515713;
/* rgb */ color: rgb(81, 87, 19);
/* oklch */ color: oklch(43.7% 0.088 114.5);
Tailwind
colors: {
  custom: {
    50: '#848656',
    500: '#515713',
    950: '#000000',
  },
}
SCSS
$custom: #515713;
$custom-light: #848656;
$custom-dark: #000000;
JSON
{
  "hex": "#515713",
  "rgb": {
    "r": 81,
    "g": 87,
    "b": 19
  },
  "hsl": {
    "h": 65.294,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.43749,
    "c": 0.08845,
    "h": 114.5
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#515713
secondary
#3E368F
accent
#41E74F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515713

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

Preview Lab → · Contrast checker → · Palette generator →

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