#515415#515415

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

Color values

HEX#515415
RGBrgb(81, 84, 21)
HSLhsl(63, 60%, 21%)
HSVhsv(63, 75%, 33%)
CMYKcmyk(3.6%, 0%, 75%, 67.1%)
CIE-LABlab(34.28, -10.19, 34.56)
CIE-LCHlch(34.28, 36.03, 106.43°)
OKLaboklab(43% -0.0313 0.0772)
OKLCHoklch(43% 0.083 112.1)
XYZxyz(6.6992, 8.1443, 1.9284)
Luminance0.0814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515415 #181554
analogous
#543715 #515415 #315415
triadic
#515415 #155154 #541551
tetradic
#515415 #155437 #181554 #541531
square
#515415 #155437 #181554 #541531
split-complementary
#515415 #153154 #371554
monochromatic
#181806 #222309 #515415 #808521 #AFB62D

Accessibility & contrast

On white

7.99
#515415 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515415
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515415#FFFFFF#000000##FFFFFF
##5154151.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500B
Deuteranopia (green-blind)
#5B511A
Tritanopia (blue-blind)
#574E48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #515415;
/* rgb */ color: rgb(81, 84, 21);
/* oklch */ color: oklch(43.0% 0.083 112.1);
Tailwind
colors: {
  custom: {
    50: '#848457',
    500: '#515415',
    950: '#000000',
  },
}
SCSS
$custom: #515415;
$custom-light: #848457;
$custom-dark: #000000;
JSON
{
  "hex": "#515415",
  "rgb": {
    "r": 81,
    "g": 84,
    "b": 21
  },
  "hsl": {
    "h": 62.857,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42996,
    "c": 0.08327,
    "h": 112.1
  },
  "luminance": 0.08144
}

Semantic roles & 50–950 ramp

primary
#515415
secondary
#3D398C
accent
#45E34C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515415

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

Preview Lab → · Contrast checker → · Palette generator →

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