#515310#515310

#515310 is a dark, moderate yellow. Relative luminance 0.080; OKLCH L 42.7% C 0.086 H 111.3°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#515310
RGBrgb(81, 83, 16)
HSLhsl(62, 68%, 19%)
HSVhsv(62, 81%, 33%)
CMYKcmyk(2.4%, 0%, 80.7%, 67.5%)
CIE-LABlab(33.93, -9.90, 36.27)
CIE-LCHlch(33.93, 37.59, 105.26°)
OKLaboklab(42.7% -0.031 0.0798)
OKLCHoklch(42.7% 0.086 111.3)
XYZxyz(6.5803, 7.9734, 1.6825)
Luminance0.0797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515310 #121053
analogous
#533410 #515310 #305310
triadic
#515310 #105153 #531051
tetradic
#515310 #105334 #121053 #531030
square
#515310 #105334 #121053 #531030
split-complementary
#515310 #103053 #341053
monochromatic
#191A05 #1F2006 #515310 #83861A #B5BA24

Accessibility & contrast

On white

8.09
#515310 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#515310 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515310
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515310#FFFFFF#000000##FFFFFF
##5153101.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F03
Deuteranopia (green-blind)
#5B5116
Tritanopia (blue-blind)
#574D46
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #515310;
/* rgb */ color: rgb(81, 83, 16);
/* oklch */ color: oklch(42.7% 0.086 111.3);
Tailwind
colors: {
  custom: {
    50: '#848354',
    500: '#515310',
    950: '#000000',
  },
}
SCSS
$custom: #515310;
$custom-light: #848354;
$custom-dark: #000000;
JSON
{
  "hex": "#515310",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 16
  },
  "hsl": {
    "h": 61.791,
    "s": 67.677,
    "l": 19.412
  },
  "oklch": {
    "l": 0.42701,
    "c": 0.08558,
    "h": 111.3
  },
  "luminance": 0.07973
}

Semantic roles & 50–950 ramp

primary
#515310
secondary
#35328D
accent
#3DEB42
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515310

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

Preview Lab → · Contrast checker → · Palette generator →

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