#515911#515911

#515911 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.3% C 0.092 H 115.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#515911
RGBrgb(81, 89, 17)
HSLhsl(67, 68%, 21%)
HSVhsv(67, 81%, 35%)
CMYKcmyk(9%, 0%, 80.9%, 65.1%)
CIE-LABlab(35.86, -13.28, 37.70)
CIE-LCHlch(35.86, 39.96, 109.40°)
OKLaboklab(44.25% -0.0403 0.083)
OKLCHoklch(44.25% 0.092 115.9)
XYZxyz(7.0671, 8.9347, 1.8825)
Luminance0.0893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515911 #191159
analogous
#593D11 #515911 #2D5911
triadic
#515911 #115159 #591151
tetradic
#515911 #11593D #191159 #59112D
square
#515911 #11593D #191159 #59112D
split-complementary
#515911 #112D59 #3D1159
monochromatic
#171A05 #222607 #515911 #808C1B #AFC025

Accessibility & contrast

On white

7.53
#515911 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #515911
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515911#FFFFFF#000000##FFFFFF
##5159111.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#5F5517
Tritanopia (blue-blind)
#57534B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #515911;
/* rgb */ color: rgb(81, 89, 17);
/* oklch */ color: oklch(44.3% 0.092 115.9);
Tailwind
colors: {
  custom: {
    50: '#848756',
    500: '#515911',
    950: '#000000',
  },
}
SCSS
$custom: #515911;
$custom-light: #848756;
$custom-dark: #000000;
JSON
{
  "hex": "#515911",
  "rgb": {
    "r": 81,
    "g": 89,
    "b": 17
  },
  "hsl": {
    "h": 66.667,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44251,
    "c": 0.09226,
    "h": 115.9
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#515911
secondary
#3E3492
accent
#3DEB50
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515911

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

Preview Lab → · Contrast checker → · Palette generator →

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