#515B11#515B11

#515B11 is a dark, moderate yellow. Relative luminance 0.093; OKLCH L 44.8% C 0.095 H 117.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#515B11
RGBrgb(81, 91, 17)
HSLhsl(68, 69%, 21%)
HSVhsv(68, 81%, 36%)
CMYKcmyk(11%, 0%, 81.3%, 64.3%)
CIE-LABlab(36.50, -14.40, 38.30)
CIE-LCHlch(36.50, 40.91, 110.60°)
OKLaboklab(44.77% -0.0434 0.0843)
OKLCHoklch(44.77% 0.095 117.3)
XYZxyz(7.2358, 9.2721, 1.9387)
Luminance0.0927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515B11 #1B115B
analogous
#5B4011 #515B11 #2C5B11
triadic
#515B11 #11515B #5B1151
tetradic
#515B11 #115B40 #1B115B #5B112C
square
#515B11 #115B40 #1B115B #5B112C
split-complementary
#515B11 #112C5B #40115B
monochromatic
#171A05 #232707 #515B11 #7F8F1B #ADC224

Accessibility & contrast

On white

7.36
#515B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#515B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515B11
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515B11#FFFFFF#000000##FFFFFF
##515B111.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625602
Deuteranopia (green-blind)
#615618
Tritanopia (blue-blind)
#57554D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #515b11;
/* rgb */ color: rgb(81, 91, 17);
/* oklch */ color: oklch(44.8% 0.095 117.3);
Tailwind
colors: {
  custom: {
    50: '#848956',
    500: '#515b11',
    950: '#000000',
  },
}
SCSS
$custom: #515b11;
$custom-light: #848956;
$custom-dark: #000000;
JSON
{
  "hex": "#515b11",
  "rgb": {
    "r": 81,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 68.108,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44769,
    "c": 0.09478,
    "h": 117.3
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

primary
#515B11
secondary
#413494
accent
#3CEB54
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515B11

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

Preview Lab → · Contrast checker → · Palette generator →

#515B11 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva