#515B0D#515B0D

#515B0D is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.7% C 0.097 H 117.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#515B0D
RGBrgb(81, 91, 13)
HSLhsl(68, 75%, 20%)
HSVhsv(68, 86%, 36%)
CMYKcmyk(11%, 0%, 85.7%, 64.3%)
CIE-LABlab(36.48, -14.58, 39.64)
CIE-LCHlch(36.48, 42.24, 110.19°)
OKLaboklab(44.75% -0.0443 0.0863)
OKLCHoklch(44.75% 0.097 117.2)
XYZxyz(7.2073, 9.2606, 1.7885)
Luminance0.0926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B0D #170D5B
analogous
#5B3E0D #515B0D #2A5B0D
triadic
#515B0D #0D515B #5B0D51
tetradic
#515B0D #0D5B3E #170D5B #5B0D2A
square
#515B0D #0D5B3E #170D5B #5B0D2A
split-complementary
#515B0D #0D2A5B #3E0D5B
monochromatic
#181B04 #212505 #515B0D #819115 #B0C61C

Accessibility & contrast

On white

7.36
#515B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#515B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B0D
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B0D#FFFFFF#000000##FFFFFF
##515B0D1.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#615615
Tritanopia (blue-blind)
#57554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b0d;
/* rgb */ color: rgb(81, 91, 13);
/* oklch */ color: oklch(44.7% 0.097 117.2);
Tailwind
colors: {
  custom: {
    50: '#858954',
    500: '#515b0d',
    950: '#000000',
  },
}
SCSS
$custom: #515b0d;
$custom-light: #858954;
$custom-dark: #000000;
JSON
{
  "hex": "#515b0d",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 13
  },
  "hsl": {
    "h": 67.692,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.44745,
    "c": 0.09702,
    "h": 117.2
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#515B0D
secondary
#3C2F95
accent
#36F24E
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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