#515711#515711

#515711 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#515711
RGBrgb(81, 87, 17)
HSLhsl(65, 67%, 20%)
HSVhsv(65, 80%, 34%)
CMYKcmyk(6.9%, 0%, 80.5%, 65.9%)
CIE-LABlab(35.22, -12.14, 37.09)
CIE-LCHlch(35.22, 39.03, 108.13°)
OKLaboklab(43.74% -0.0372 0.0817)
OKLCHoklch(43.74% 0.09 114.5)
XYZxyz(6.9029, 8.6063, 1.8278)
Luminance0.0861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515711 #171157
analogous
#573A11 #515711 #2E5711
triadic
#515711 #115157 #571151
tetradic
#515711 #11573A #171157 #57112E
square
#515711 #11573A #171157 #57112E
split-complementary
#515711 #112E57 #3A1157
monochromatic
#181A05 #212407 #515711 #818A1B #B0BD25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##515711#FFFFFF#000000##FFFFFF
##5157111.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)
#5E5203
Deuteranopia (green-blind)
#5E5317
Tritanopia (blue-blind)
#57514A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #515711;
/* rgb */ color: rgb(81, 87, 17);
/* oklch */ color: oklch(43.7% 0.090 114.5);
Tailwind
colors: {
  custom: {
    50: '#848655',
    500: '#515711',
    950: '#000000',
  },
}
SCSS
$custom: #515711;
$custom-light: #848655;
$custom-dark: #000000;
JSON
{
  "hex": "#515711",
  "rgb": {
    "r": 81,
    "g": 87,
    "b": 17
  },
  "hsl": {
    "h": 65.143,
    "s": 67.308,
    "l": 20.392
  },
  "oklch": {
    "l": 0.43735,
    "c": 0.08978,
    "h": 114.5
  },
  "luminance": 0.08606
}

Semantic roles & 50–950 ramp

primary
#515711
secondary
#3C3490
accent
#3EEA4C
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515711

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

Preview Lab → · Contrast checker → · Palette generator →

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