#515417#515417

#515417 is a dark, moderate yellow. Relative luminance 0.082; OKLCH L 43.0% C 0.082 H 112.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#515417
RGBrgb(81, 84, 23)
HSLhsl(63, 57%, 21%)
HSVhsv(63, 73%, 33%)
CMYKcmyk(3.6%, 0%, 72.6%, 67.1%)
CIE-LABlab(34.30, -10.06, 33.69)
CIE-LCHlch(34.30, 35.16, 106.63°)
OKLaboklab(43.01% -0.0307 0.0757)
OKLCHoklch(43.01% 0.082 112.1)
XYZxyz(6.7185, 8.1520, 2.0300)
Luminance0.0815 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515417 #1A1754
analogous
#543817 #515417 #325417
triadic
#515417 #175154 #541751
tetradic
#515417 #175438 #1A1754 #541732
square
#515417 #175438 #1A1754 #541732
split-complementary
#515417 #173254 #381754
monochromatic
#171807 #23240A #515417 #7F8424 #AEB431

Accessibility & contrast

On white

7.98
#515417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#515417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515417
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515417#FFFFFF#000000##FFFFFF
##5154171.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#5B511B
Tritanopia (blue-blind)
#574F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #515417;
/* rgb */ color: rgb(81, 84, 23);
/* oklch */ color: oklch(43.0% 0.082 112.1);
Tailwind
colors: {
  custom: {
    50: '#848458',
    500: '#515417',
    950: '#000000',
  },
}
SCSS
$custom: #515417;
$custom-light: #848458;
$custom-dark: #000000;
JSON
{
  "hex": "#515417",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 23
  },
  "hsl": {
    "h": 62.951,
    "s": 57.009,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43014,
    "c": 0.08169,
    "h": 112.1
  },
  "luminance": 0.08152
}

Semantic roles & 50–950 ramp

primary
#515417
secondary
#403C8B
accent
#48E04F
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515417

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

Preview Lab → · Contrast checker → · Palette generator →

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