#515811#515811

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

Color values

HEX#515811
RGBrgb(81, 88, 17)
HSLhsl(66, 68%, 21%)
HSVhsv(66, 81%, 35%)
CMYKcmyk(8%, 0%, 80.7%, 65.5%)
CIE-LABlab(35.54, -12.71, 37.39)
CIE-LCHlch(35.54, 39.50, 108.78°)
OKLaboklab(43.99% -0.0388 0.0823)
OKLCHoklch(43.99% 0.091 115.2)
XYZxyz(6.9844, 8.7694, 1.8549)
Luminance0.0877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515811 #181158
analogous
#583B11 #515811 #2E5811
triadic
#515811 #115158 #581151
tetradic
#515811 #11583B #181158 #58112E
square
#515811 #11583B #181158 #58112E
split-complementary
#515811 #112E58 #3B1158
monochromatic
#181A05 #222507 #515811 #808B1B #AFBF25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515811#FFFFFF#000000##FFFFFF
##5158111.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)
#5F5303
Deuteranopia (green-blind)
#5E5417
Tritanopia (blue-blind)
#57524B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #515811;
/* rgb */ color: rgb(81, 88, 17);
/* oklch */ color: oklch(44.0% 0.091 115.2);
Tailwind
colors: {
  custom: {
    50: '#848755',
    500: '#515811',
    950: '#000000',
  },
}
SCSS
$custom: #515811;
$custom-light: #848755;
$custom-dark: #000000;
JSON
{
  "hex": "#515811",
  "rgb": {
    "r": 81,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 65.915,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.43993,
    "c": 0.09101,
    "h": 115.2
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

primary
#515811
secondary
#3D3491
accent
#3DEA4E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515811

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

Preview Lab → · Contrast checker → · Palette generator →

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