#515810#515810

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

Color values

HEX#515810
RGBrgb(81, 88, 16)
HSLhsl(66, 69%, 20%)
HSVhsv(66, 82%, 35%)
CMYKcmyk(8%, 0%, 81.8%, 65.5%)
CIE-LABlab(35.53, -12.76, 37.76)
CIE-LCHlch(35.53, 39.86, 108.67°)
OKLaboklab(43.99% -0.039 0.0829)
OKLCHoklch(43.99% 0.092 115.2)
XYZxyz(6.9768, 8.7663, 1.8146)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515810 #171058
analogous
#583B10 #515810 #2D5810
triadic
#515810 #105158 #581051
tetradic
#515810 #10583B #171058 #58102D
square
#515810 #10583B #171058 #58102D
split-complementary
#515810 #102D58 #3B1058
monochromatic
#181A05 #212407 #515810 #818C19 #B0C023

Accessibility & contrast

On white

7.63
#515810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#515810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515810
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515810#FFFFFF#000000##FFFFFF
##5158101.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515810;
/* rgb */ color: rgb(81, 88, 16);
/* oklch */ color: oklch(44.0% 0.092 115.2);
Tailwind
colors: {
  custom: {
    50: '#848755',
    500: '#515810',
    950: '#000000',
  },
}
SCSS
$custom: #515810;
$custom-light: #848755;
$custom-dark: #000000;
JSON
{
  "hex": "#515810",
  "rgb": {
    "r": 81,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 65.833,
    "s": 69.231,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43986,
    "c": 0.09163,
    "h": 115.2
  },
  "luminance": 0.08766
}

Semantic roles & 50–950 ramp

primary
#515810
secondary
#3C3291
accent
#3CEC4D
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515810

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

Preview Lab → · Contrast checker → · Palette generator →

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