#515311#515311

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

Color values

HEX#515311
RGBrgb(81, 83, 17)
HSLhsl(62, 66%, 20%)
HSVhsv(62, 80%, 33%)
CMYKcmyk(2.4%, 0%, 79.5%, 67.5%)
CIE-LABlab(33.93, -9.84, 35.88)
CIE-LCHlch(33.93, 37.21, 105.34°)
OKLaboklab(42.71% -0.0308 0.0792)
OKLCHoklch(42.71% 0.085 111.3)
XYZxyz(6.5880, 7.9765, 1.7228)
Luminance0.0798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515311 #131153
analogous
#533411 #515311 #305311
triadic
#515311 #115153 #531151
tetradic
#515311 #115334 #131153 #531130
square
#515311 #115334 #131153 #531130
split-complementary
#515311 #113053 #341153
monochromatic
#191905 #1F2007 #515311 #83861B #B4B926

Accessibility & contrast

On white

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

On black

2.60
#515311 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515311#FFFFFF#000000##FFFFFF
##5153111.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515311;
/* rgb */ color: rgb(81, 83, 17);
/* oklch */ color: oklch(42.7% 0.085 111.3);
Tailwind
colors: {
  custom: {
    50: '#848355',
    500: '#515311',
    950: '#000000',
  },
}
SCSS
$custom: #515311;
$custom-light: #848355;
$custom-dark: #000000;
JSON
{
  "hex": "#515311",
  "rgb": {
    "r": 81,
    "g": 83,
    "b": 17
  },
  "hsl": {
    "h": 61.818,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.42709,
    "c": 0.08493,
    "h": 111.3
  },
  "luminance": 0.07976
}

Semantic roles & 50–950 ramp

primary
#515311
secondary
#36348C
accent
#3FE944
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515311

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

Preview Lab → · Contrast checker → · Palette generator →

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