#515011#515011

#515011 is a dark, moderate yellow. Relative luminance 0.075; OKLCH L 41.9% C 0.081 H 108.5°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#515011
RGBrgb(81, 80, 17)
HSLhsl(59, 65%, 19%)
HSVhsv(59, 79%, 32%)
CMYKcmyk(0%, 1.2%, 79%, 68.2%)
CIE-LABlab(32.98, -8.09, 34.97)
CIE-LCHlch(32.98, 35.90, 103.02°)
OKLaboklab(41.95% -0.0259 0.0772)
OKLCHoklch(41.95% 0.081 108.5)
XYZxyz(6.3634, 7.5273, 1.6479)
Luminance0.0753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515011 #111251
analogous
#513011 #515011 #325111
triadic
#515011 #115150 #501151
tetradic
#515011 #115130 #111251 #511132
square
#515011 #115130 #111251 #511132
split-complementary
#515011 #113251 #301151
monochromatic
#191905 #1E1E06 #515011 #84821C #B6B426

Accessibility & contrast

On white

8.38
#515011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#515011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515011
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515011#FFFFFF#000000##FFFFFF
##5150111.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C06
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#574A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #515011;
/* rgb */ color: rgb(81, 80, 17);
/* oklch */ color: oklch(41.9% 0.081 108.5);
Tailwind
colors: {
  custom: {
    50: '#848054',
    500: '#515011',
    950: '#000000',
  },
}
SCSS
$custom: #515011;
$custom-light: #848054;
$custom-dark: #000000;
JSON
{
  "hex": "#515011",
  "rgb": {
    "r": 81,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 59.063,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.41945,
    "c": 0.08144,
    "h": 108.5
  },
  "luminance": 0.07527
}

Semantic roles & 50–950 ramp

primary
#515011
secondary
#34358A
accent
#42E840
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515011

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

Preview Lab → · Contrast checker → · Palette generator →

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