#515B19#515B19

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

Color values

HEX#515B19
RGBrgb(81, 91, 25)
HSLhsl(69, 57%, 23%)
HSVhsv(69, 73%, 36%)
CMYKcmyk(11%, 0%, 72.5%, 64.3%)
CIE-LABlab(36.56, -13.91, 35.09)
CIE-LCHlch(36.56, 37.75, 111.63°)
OKLaboklab(44.83% -0.0413 0.079)
OKLCHoklch(44.83% 0.089 117.6)
XYZxyz(7.3100, 9.3018, 2.3298)
Luminance0.0930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B19 #23195B
analogous
#5B4419 #515B19 #305B19
triadic
#515B19 #19515B #5B1951
tetradic
#515B19 #195B44 #23195B #5B1930
square
#515B19 #195B44 #23195B #5B1930
split-complementary
#515B19 #19305B #44195B
monochromatic
#151807 #262B0C #515B19 #7C8B26 #A6BB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #515b19;
/* rgb */ color: rgb(81, 91, 25);
/* oklch */ color: oklch(44.8% 0.089 117.6);
Tailwind
colors: {
  custom: {
    50: '#84895a',
    500: '#515b19',
    950: '#000000',
  },
}
SCSS
$custom: #515b19;
$custom-light: #84895a;
$custom-dark: #000000;
JSON
{
  "hex": "#515b19",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 69.091,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44832,
    "c": 0.08914,
    "h": 117.6
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#515B19
secondary
#4B3F91
accent
#48E05F
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515B19

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

Preview Lab → · Contrast checker → · Palette generator →

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