#515611#515611

#515611 is a dark, moderate yellow. Relative luminance 0.084; OKLCH L 43.5% C 0.089 H 113.7°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#515611
RGBrgb(81, 86, 17)
HSLhsl(64, 67%, 20%)
HSVhsv(64, 80%, 34%)
CMYKcmyk(5.8%, 0%, 80.2%, 66.3%)
CIE-LABlab(34.89, -11.57, 36.79)
CIE-LCHlch(34.89, 38.57, 107.46°)
OKLaboklab(43.48% -0.0356 0.0811)
OKLCHoklch(43.48% 0.089 113.7)
XYZxyz(6.8225, 8.4455, 1.8010)
Luminance0.0844 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515611 #161156
analogous
#563811 #515611 #2E5611
triadic
#515611 #115156 #561151
tetradic
#515611 #115638 #161156 #56112E
square
#515611 #115638 #161156 #56112E
split-complementary
#515611 #112E56 #381156
monochromatic
#181A05 #212307 #515611 #81891B #B1BC25

Accessibility & contrast

On white

7.81
#515611 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#515611 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515611
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515611#FFFFFF#000000##FFFFFF
##5156111.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5104
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#575049
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #515611;
/* rgb */ color: rgb(81, 86, 17);
/* oklch */ color: oklch(43.5% 0.089 113.7);
Tailwind
colors: {
  custom: {
    50: '#848555',
    500: '#515611',
    950: '#000000',
  },
}
SCSS
$custom: #515611;
$custom-light: #848555;
$custom-dark: #000000;
JSON
{
  "hex": "#515611",
  "rgb": {
    "r": 81,
    "g": 86,
    "b": 17
  },
  "hsl": {
    "h": 64.348,
    "s": 66.99,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43477,
    "c": 0.08855,
    "h": 113.7
  },
  "luminance": 0.08445
}

Semantic roles & 50–950 ramp

primary
#515611
secondary
#3A348F
accent
#3EEA4A
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515611

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

Preview Lab → · Contrast checker → · Palette generator →

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