#515710#515710

#515710 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 43.7% C 0.090 H 114.5°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#515710
RGBrgb(81, 87, 16)
HSLhsl(65, 69%, 20%)
HSVhsv(65, 82%, 34%)
CMYKcmyk(6.9%, 0%, 81.6%, 65.9%)
CIE-LABlab(35.21, -12.20, 37.46)
CIE-LCHlch(35.21, 39.40, 108.03°)
OKLaboklab(43.73% -0.0374 0.0823)
OKLCHoklch(43.73% 0.09 114.5)
XYZxyz(6.8953, 8.6033, 1.7875)
Luminance0.0860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515710 #161057
analogous
#573910 #515710 #2E5710
triadic
#515710 #105157 #571051
tetradic
#515710 #105739 #161057 #57102E
square
#515710 #105739 #161057 #57102E
split-complementary
#515710 #102E57 #391057
monochromatic
#181A05 #212306 #515710 #818B1A #B1BE23

Accessibility & contrast

On white

7.72
#515710 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#515710 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515710
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515710#FFFFFF#000000##FFFFFF
##5157101.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5202
Deuteranopia (green-blind)
#5E5316
Tritanopia (blue-blind)
#57514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #515710;
/* rgb */ color: rgb(81, 87, 16);
/* oklch */ color: oklch(43.7% 0.090 114.5);
Tailwind
colors: {
  custom: {
    50: '#848655',
    500: '#515710',
    950: '#000000',
  },
}
SCSS
$custom: #515710;
$custom-light: #848655;
$custom-dark: #000000;
JSON
{
  "hex": "#515710",
  "rgb": {
    "r": 81,
    "g": 87,
    "b": 16
  },
  "hsl": {
    "h": 65.07,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43728,
    "c": 0.09039,
    "h": 114.5
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#515710
secondary
#3A3290
accent
#3CEC4B
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515710

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

Preview Lab → · Contrast checker → · Palette generator →

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