#515B1B#515B1B

#515B1B is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.9% C 0.087 H 117.7°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#515B1B
RGBrgb(81, 91, 27)
HSLhsl(69, 54%, 23%)
HSVhsv(69, 70%, 36%)
CMYKcmyk(11%, 0%, 70.3%, 64.3%)
CIE-LABlab(36.58, -13.77, 34.20)
CIE-LCHlch(36.58, 36.87, 111.93°)
OKLaboklab(44.85% -0.0406 0.0775)
OKLCHoklch(44.85% 0.087 117.7)
XYZxyz(7.3324, 9.3107, 2.4476)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B1B #251B5B
analogous
#5B451B #515B1B #315B1B
triadic
#515B1B #1B515B #5B1B51
tetradic
#515B1B #1B5B45 #251B5B #5B1B31
square
#515B1B #1B5B45 #251B5B #5B1B31
split-complementary
#515B1B #1B315B #451B5B
monochromatic
#151807 #272C0D #515B1B #7B8A29 #A5B937

Accessibility & contrast

On white

7.34
#515B1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515B1B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B1B#FFFFFF#000000##FFFFFF
##515B1B1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615612
Deuteranopia (green-blind)
#605620
Tritanopia (blue-blind)
#56564E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b1b;
/* rgb */ color: rgb(81, 91, 27);
/* oklch */ color: oklch(44.9% 0.087 117.7);
Tailwind
colors: {
  custom: {
    50: '#84895b',
    500: '#515b1b',
    950: '#000000',
  },
}
SCSS
$custom: #515b1b;
$custom-light: #84895b;
$custom-dark: #000000;
JSON
{
  "hex": "#515b1b",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 27
  },
  "hsl": {
    "h": 69.375,
    "s": 54.237,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44851,
    "c": 0.08749,
    "h": 117.7
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#515B1B
secondary
#4E4191
accent
#4ADE61
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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