#515B1A#515B1A

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

Color values

HEX#515B1A
RGBrgb(81, 91, 26)
HSLhsl(69, 56%, 23%)
HSVhsv(69, 71%, 36%)
CMYKcmyk(11%, 0%, 71.4%, 64.3%)
CIE-LABlab(36.57, -13.84, 34.65)
CIE-LCHlch(36.57, 37.32, 111.78°)
OKLaboklab(44.84% -0.041 0.0783)
OKLCHoklch(44.84% 0.088 117.6)
XYZxyz(7.3210, 9.3062, 2.3877)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B1A #241A5B
analogous
#5B441A #515B1A #305B1A
triadic
#515B1A #1A515B #5B1A51
tetradic
#515B1A #1A5B44 #241A5B #5B1A30
square
#515B1A #1A5B44 #241A5B #5B1A30
split-complementary
#515B1A #1A305B #441A5B
monochromatic
#151807 #272B0C #515B1A #7B8B28 #A6BA35

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515B1A#FFFFFF#000000##FFFFFF
##515B1A1.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)
#615611
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#56564E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b1a;
/* rgb */ color: rgb(81, 91, 26);
/* oklch */ color: oklch(44.8% 0.088 117.6);
Tailwind
colors: {
  custom: {
    50: '#84895b',
    500: '#515b1a',
    950: '#000000',
  },
}
SCSS
$custom: #515b1a;
$custom-light: #84895b;
$custom-dark: #000000;
JSON
{
  "hex": "#515b1a",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 26
  },
  "hsl": {
    "h": 69.231,
    "s": 55.556,
    "l": 22.941
  },
  "oklch": {
    "l": 0.44841,
    "c": 0.08833,
    "h": 117.6
  },
  "luminance": 0.09306
}

Semantic roles & 50–950 ramp

primary
#515B1A
secondary
#4C4091
accent
#49DF60
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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