#515A11#515A11

#515A11 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.5% C 0.094 H 116.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#515A11
RGBrgb(81, 90, 17)
HSLhsl(67, 68%, 21%)
HSVhsv(67, 81%, 35%)
CMYKcmyk(10%, 0%, 81.1%, 64.7%)
CIE-LABlab(36.18, -13.84, 38.00)
CIE-LCHlch(36.18, 40.44, 110.01°)
OKLaboklab(44.51% -0.0419 0.0836)
OKLCHoklch(44.51% 0.094 116.6)
XYZxyz(7.1509, 9.1022, 1.9104)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515A11 #1A115A
analogous
#5A3E11 #515A11 #2C5A11
triadic
#515A11 #11515A #5A1151
tetradic
#515A11 #115A3E #1A115A #5A112C
square
#515A11 #115A3E #1A115A #5A112C
split-complementary
#515A11 #112C5A #3E115A
monochromatic
#171A05 #232707 #515A11 #7F8D1B #AEC124

Accessibility & contrast

On white

7.45
#515A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#515A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515A11
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515A11#FFFFFF#000000##FFFFFF
##515A111.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615502
Deuteranopia (green-blind)
#605618
Tritanopia (blue-blind)
#57544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #515a11;
/* rgb */ color: rgb(81, 90, 17);
/* oklch */ color: oklch(44.5% 0.094 116.6);
Tailwind
colors: {
  custom: {
    50: '#848856',
    500: '#515a11',
    950: '#000000',
  },
}
SCSS
$custom: #515a11;
$custom-light: #848856;
$custom-dark: #000000;
JSON
{
  "hex": "#515a11",
  "rgb": {
    "r": 81,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 67.397,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4451,
    "c": 0.09352,
    "h": 116.6
  },
  "luminance": 0.09102
}

Semantic roles & 50–950 ramp

primary
#515A11
secondary
#403493
accent
#3DEB52
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515A11

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

Preview Lab → · Contrast checker → · Palette generator →

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