#515D0D#515D0D

#515D0D is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.100 H 118.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#515D0D
RGBrgb(81, 93, 13)
HSLhsl(69, 75%, 21%)
HSVhsv(69, 86%, 36%)
CMYKcmyk(12.9%, 0%, 86%, 63.5%)
CIE-LABlab(37.13, -15.69, 40.22)
CIE-LCHlch(37.13, 43.17, 111.31°)
OKLaboklab(45.27% -0.0473 0.0876)
OKLCHoklch(45.27% 0.1 118.4)
XYZxyz(7.3805, 9.6072, 1.8463)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D0D #190D5D
analogous
#5D410D #515D0D #295D0D
triadic
#515D0D #0D515D #5D0D51
tetradic
#515D0D #0D5D41 #190D5D #5D0D29
square
#515D0D #0D5D41 #190D5D #5D0D29
split-complementary
#515D0D #0D295D #410D5D
monochromatic
#171B04 #222705 #515D0D #809315 #AFC81C

Accessibility & contrast

On white

7.19
#515D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#515D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515D0D
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D0D#FFFFFF#000000##FFFFFF
##515D0D1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#635815
Tritanopia (blue-blind)
#57574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515d0d;
/* rgb */ color: rgb(81, 93, 13);
/* oklch */ color: oklch(45.3% 0.100 118.4);
Tailwind
colors: {
  custom: {
    50: '#858a55',
    500: '#515d0d',
    950: '#000000',
  },
}
SCSS
$custom: #515d0d;
$custom-light: #858a55;
$custom-dark: #000000;
JSON
{
  "hex": "#515d0d",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 13
  },
  "hsl": {
    "h": 69,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.45265,
    "c": 0.09952,
    "h": 118.4
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#515D0D
secondary
#3E2F97
accent
#36F252
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515D0D

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

Preview Lab → · Contrast checker → · Palette generator →

#515D0D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva