#515017#515017

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

Color values

HEX#515017
RGBrgb(81, 80, 23)
HSLhsl(59, 56%, 20%)
HSVhsv(59, 72%, 32%)
CMYKcmyk(0%, 1.2%, 71.6%, 68.2%)
CIE-LABlab(33.02, -7.72, 32.38)
CIE-LCHlch(33.02, 33.29, 103.41°)
OKLaboklab(42% -0.0241 0.0729)
OKLCHoklch(42% 0.077 108.3)
XYZxyz(6.4169, 7.5487, 1.9295)
Luminance0.0755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515017 #171851
analogous
#513317 #515017 #355117
triadic
#515017 #175150 #501751
tetradic
#515017 #175133 #171851 #511735
square
#515017 #175133 #171851 #511735
split-complementary
#515017 #173551 #331751
monochromatic
#181807 #212109 #515017 #817F25 #B0AE32

Accessibility & contrast

On white

8.37
#515017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515017
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515017#FFFFFF#000000##FFFFFF
##5150171.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0F
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#574B44
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #515017;
/* rgb */ color: rgb(81, 80, 23);
/* oklch */ color: oklch(42.0% 0.077 108.3);
Tailwind
colors: {
  custom: {
    50: '#848058',
    500: '#515017',
    950: '#000000',
  },
}
SCSS
$custom: #515017;
$custom-light: #848058;
$custom-dark: #000000;
JSON
{
  "hex": "#515017",
  "rgb": {
    "r": 81,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 58.966,
    "s": 55.769,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41997,
    "c": 0.07683,
    "h": 108.3
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#515017
secondary
#3C3D88
accent
#4BDF49
background
#F8F7F5
surface
#EFEEE9
border
#CAC9C5
text
#0B0A03
muted
#7C7C78

Preview Lab

Preview with #515017

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

Preview Lab → · Contrast checker → · Palette generator →

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