#515019#515019

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

Color values

HEX#515019
RGBrgb(81, 80, 25)
HSLhsl(59, 53%, 21%)
HSVhsv(59, 69%, 32%)
CMYKcmyk(0%, 1.2%, 69.1%, 68.2%)
CIE-LABlab(33.04, -7.58, 31.44)
CIE-LCHlch(33.04, 32.34, 103.55°)
OKLaboklab(42.02% -0.0235 0.0713)
OKLCHoklch(42.02% 0.075 108.2)
XYZxyz(6.4377, 7.5570, 2.0391)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515019 #191A51
analogous
#513419 #515019 #365119
triadic
#515019 #195150 #501951
tetradic
#515019 #195134 #191A51 #511936
square
#515019 #195134 #191A51 #511936
split-complementary
#515019 #193651 #341951
monochromatic
#171707 #22220B #515019 #807E27 #AFAC36

Accessibility & contrast

On white

8.36
#515019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515019
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515019#FFFFFF#000000##FFFFFF
##5150191.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D12
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#574B45
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #515019;
/* rgb */ color: rgb(81, 80, 25);
/* oklch */ color: oklch(42.0% 0.075 108.2);
Tailwind
colors: {
  custom: {
    50: '#848059',
    500: '#515019',
    950: '#000000',
  },
}
SCSS
$custom: #515019;
$custom-light: #848059;
$custom-dark: #000000;
JSON
{
  "hex": "#515019",
  "rgb": {
    "r": 81,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 58.929,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42017,
    "c": 0.07509,
    "h": 108.2
  },
  "luminance": 0.07557
}

Semantic roles & 50–950 ramp

primary
#515019
secondary
#3E4087
accent
#4EDC4C
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515019

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

Preview Lab → · Contrast checker → · Palette generator →

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