#515512#515512

#515512 is a dark, moderate yellow. Relative luminance 0.083; OKLCH L 43.2% C 0.087 H 112.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#515512
RGBrgb(81, 85, 18)
HSLhsl(64, 65%, 20%)
HSVhsv(64, 79%, 33%)
CMYKcmyk(4.7%, 0%, 78.8%, 66.7%)
CIE-LABlab(34.58, -10.95, 36.10)
CIE-LCHlch(34.58, 37.72, 106.87°)
OKLaboklab(43.23% -0.0338 0.0798)
OKLCHoklch(43.23% 0.087 112.9)
XYZxyz(6.7512, 8.2902, 1.8167)
Luminance0.0829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515512 #161255
analogous
#553712 #515512 #2F5512
triadic
#515512 #125155 #551251
tetradic
#515512 #125537 #161255 #55122F
square
#515512 #125537 #161255 #55122F
split-complementary
#515512 #122F55 #371255
monochromatic
#181905 #212207 #515512 #81881D #B1BA27

Accessibility & contrast

On white

7.90
#515512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#515512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515512
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515512#FFFFFF#000000##FFFFFF
##5155121.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5106
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#574F48
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #515512;
/* rgb */ color: rgb(81, 85, 18);
/* oklch */ color: oklch(43.2% 0.087 112.9);
Tailwind
colors: {
  custom: {
    50: '#848456',
    500: '#515512',
    950: '#000000',
  },
}
SCSS
$custom: #515512;
$custom-light: #848456;
$custom-dark: #000000;
JSON
{
  "hex": "#515512",
  "rgb": {
    "r": 81,
    "g": 85,
    "b": 18
  },
  "hsl": {
    "h": 63.582,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.08666,
    "h": 112.9
  },
  "luminance": 0.0829
}

Semantic roles & 50–950 ramp

primary
#515512
secondary
#3A358E
accent
#40E84A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515512

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

Preview Lab → · Contrast checker → · Palette generator →

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