#515813#515813

#515813 is a dark, moderate yellow. Relative luminance 0.088; OKLCH L 44.0% C 0.090 H 115.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#515813
RGBrgb(81, 88, 19)
HSLhsl(66, 64%, 21%)
HSVhsv(66, 78%, 35%)
CMYKcmyk(8%, 0%, 78.4%, 65.5%)
CIE-LABlab(35.55, -12.60, 36.63)
CIE-LCHlch(35.55, 38.74, 108.99°)
OKLaboklab(44.01% -0.0383 0.0811)
OKLCHoklch(44.01% 0.09 115.2)
XYZxyz(7.0008, 8.7759, 1.9411)
Luminance0.0878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515813 #1A1358
analogous
#583C13 #515813 #2E5813
triadic
#515813 #135158 #581351
tetradic
#515813 #13583C #1A1358 #58132E
square
#515813 #13583C #1A1358 #58132E
split-complementary
#515813 #132E58 #3C1358
monochromatic
#171905 #232608 #515813 #7F8A1E #AEBD29

Accessibility & contrast

On white

7.62
#515813 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#515813 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515813
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515813#FFFFFF#000000##FFFFFF
##5158131.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5306
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#57524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #515813;
/* rgb */ color: rgb(81, 88, 19);
/* oklch */ color: oklch(44.0% 0.090 115.2);
Tailwind
colors: {
  custom: {
    50: '#848756',
    500: '#515813',
    950: '#000000',
  },
}
SCSS
$custom: #515813;
$custom-light: #848756;
$custom-dark: #000000;
JSON
{
  "hex": "#515813",
  "rgb": {
    "r": 81,
    "g": 88,
    "b": 19
  },
  "hsl": {
    "h": 66.087,
    "s": 64.486,
    "l": 20.98
  },
  "oklch": {
    "l": 0.44007,
    "c": 0.0897,
    "h": 115.2
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#515813
secondary
#403790
accent
#40E751
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515813

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

Preview Lab → · Contrast checker → · Palette generator →

#515813 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva