#515010#515010

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

Color values

HEX#515010
RGBrgb(81, 80, 16)
HSLhsl(59, 67%, 19%)
HSVhsv(59, 80%, 32%)
CMYKcmyk(0%, 1.2%, 80.2%, 68.2%)
CIE-LABlab(32.97, -8.14, 35.37)
CIE-LCHlch(32.97, 36.29, 102.96°)
OKLaboklab(41.94% -0.0261 0.0779)
OKLCHoklch(41.94% 0.082 108.6)
XYZxyz(6.3558, 7.5243, 1.6076)
Luminance0.0752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515010 #101151
analogous
#513010 #515010 #325110
triadic
#515010 #105150 #501051
tetradic
#515010 #105130 #101151 #511032
square
#515010 #105130 #101151 #511032
split-complementary
#515010 #103251 #301051
monochromatic
#1A1905 #1E1E06 #515010 #84821A #B7B524

Accessibility & contrast

On white

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

On black

2.50
#515010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##515010#FFFFFF#000000##FFFFFF
##5150101.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #515010;
/* rgb */ color: rgb(81, 80, 16);
/* oklch */ color: oklch(41.9% 0.082 108.6);
Tailwind
colors: {
  custom: {
    50: '#848054',
    500: '#515010',
    950: '#000000',
  },
}
SCSS
$custom: #515010;
$custom-light: #848054;
$custom-dark: #000000;
JSON
{
  "hex": "#515010",
  "rgb": {
    "r": 81,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 59.077,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.41938,
    "c": 0.08212,
    "h": 108.6
  },
  "luminance": 0.07524
}

Semantic roles & 50–950 ramp

primary
#515010
secondary
#32338B
accent
#41EA3E
background
#F8F7F5
surface
#EFEEE8
border
#CAC9C4
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515010

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

Preview Lab → · Contrast checker → · Palette generator →

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