#515B13#515B13

#515B13 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.8% C 0.094 H 117.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#515B13
RGBrgb(81, 91, 19)
HSLhsl(68, 65%, 22%)
HSVhsv(68, 79%, 36%)
CMYKcmyk(11%, 0%, 79.1%, 64.3%)
CIE-LABlab(36.52, -14.29, 37.56)
CIE-LCHlch(36.52, 40.18, 110.83°)
OKLaboklab(44.78% -0.0429 0.0831)
OKLCHoklch(44.78% 0.094 117.3)
XYZxyz(7.2521, 9.2786, 2.0249)
Luminance0.0928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B13 #1D135B
analogous
#5B4113 #515B13 #2D5B13
triadic
#515B13 #13515B #5B1351
tetradic
#515B13 #135B41 #1D135B #5B132D
square
#515B13 #135B41 #1D135B #5B132D
split-complementary
#515B13 #132D5B #41135B
monochromatic
#171905 #242808 #515B13 #7E8E1E #ABC028

Accessibility & contrast

On white

7.35
#515B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#515B13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B13
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B13#FFFFFF#000000##FFFFFF
##515B131.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625605
Deuteranopia (green-blind)
#615619
Tritanopia (blue-blind)
#56554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b13;
/* rgb */ color: rgb(81, 91, 19);
/* oklch */ color: oklch(44.8% 0.094 117.3);
Tailwind
colors: {
  custom: {
    50: '#848957',
    500: '#515b13',
    950: '#000000',
  },
}
SCSS
$custom: #515b13;
$custom-light: #848957;
$custom-dark: #000000;
JSON
{
  "hex": "#515b13",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 19
  },
  "hsl": {
    "h": 68.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.44783,
    "c": 0.09352,
    "h": 117.3
  },
  "luminance": 0.09279
}

Semantic roles & 50–950 ramp

primary
#515B13
secondary
#443793
accent
#3FE857
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515B13

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

Preview Lab → · Contrast checker → · Palette generator →

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