#515917#515917

#515917 is a dark, moderate yellow. Relative luminance 0.090; OKLCH L 44.3% C 0.088 H 116.1°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#515917
RGBrgb(81, 89, 23)
HSLhsl(67, 59%, 22%)
HSVhsv(67, 74%, 35%)
CMYKcmyk(9%, 0%, 74.2%, 65.1%)
CIE-LABlab(35.90, -12.93, 35.31)
CIE-LCHlch(35.90, 37.60, 110.11°)
OKLaboklab(44.3% -0.0387 0.0791)
OKLCHoklch(44.3% 0.088 116.1)
XYZxyz(7.1205, 8.9561, 2.1640)
Luminance0.0896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515917 #1F1759
analogous
#594017 #515917 #305917
triadic
#515917 #175159 #591751
tetradic
#515917 #175940 #1F1759 #591730
square
#515917 #175940 #1F1759 #591730
split-complementary
#515917 #173059 #401759
monochromatic
#161806 #25280A #515917 #7D8A24 #AABA30

Accessibility & contrast

On white

7.52
#515917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#515917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515917
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515917#FFFFFF#000000##FFFFFF
##5159171.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60540D
Deuteranopia (green-blind)
#5F551C
Tritanopia (blue-blind)
#56544C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #515917;
/* rgb */ color: rgb(81, 89, 23);
/* oklch */ color: oklch(44.3% 0.088 116.1);
Tailwind
colors: {
  custom: {
    50: '#848759',
    500: '#515917',
    950: '#000000',
  },
}
SCSS
$custom: #515917;
$custom-light: #848759;
$custom-dark: #000000;
JSON
{
  "hex": "#515917",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 67.273,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.44297,
    "c": 0.08807,
    "h": 116.1
  },
  "luminance": 0.08956
}

Semantic roles & 50–950 ramp

primary
#515917
secondary
#463C90
accent
#46E259
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B04
muted
#7C7C79

Preview Lab

Preview with #515917

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

Preview Lab → · Contrast checker → · Palette generator →

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