#515014#515014

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

Color values

HEX#515014
RGBrgb(81, 80, 20)
HSLhsl(59, 60%, 20%)
HSVhsv(59, 75%, 32%)
CMYKcmyk(0%, 1.2%, 75.3%, 68.2%)
CIE-LABlab(33.00, -7.91, 33.72)
CIE-LCHlch(33.00, 34.64, 103.21°)
OKLaboklab(41.97% -0.0251 0.0752)
OKLCHoklch(41.97% 0.079 108.4)
XYZxyz(6.3885, 7.5374, 1.7800)
Luminance0.0754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515014 #141551
analogous
#513114 #515014 #345114
triadic
#515014 #145150 #501451
tetradic
#515014 #145131 #141551 #511434
square
#515014 #145131 #141551 #511434
split-complementary
#515014 #143451 #311451
monochromatic
#191806 #202008 #515014 #828020 #B3B12C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515014#FFFFFF#000000##FFFFFF
##5150141.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)
#574C0A
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#574A44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #515014;
/* rgb */ color: rgb(81, 80, 20);
/* oklch */ color: oklch(42.0% 0.079 108.4);
Tailwind
colors: {
  custom: {
    50: '#848056',
    500: '#515014',
    950: '#000000',
  },
}
SCSS
$custom: #515014;
$custom-light: #848056;
$custom-dark: #000000;
JSON
{
  "hex": "#515014",
  "rgb": {
    "r": 81,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 59.016,
    "s": 60.396,
    "l": 19.804
  },
  "oklch": {
    "l": 0.41969,
    "c": 0.07927,
    "h": 108.4
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#515014
secondary
#383989
accent
#47E444
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515014

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

Preview Lab → · Contrast checker → · Palette generator →

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