#515D11#515D11

#515D11 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.3% C 0.097 H 118.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#515D11
RGBrgb(81, 93, 17)
HSLhsl(69, 69%, 22%)
HSVhsv(69, 82%, 36%)
CMYKcmyk(12.9%, 0%, 81.7%, 63.5%)
CIE-LABlab(37.15, -15.50, 38.90)
CIE-LCHlch(37.15, 41.87, 111.73°)
OKLaboklab(45.29% -0.0465 0.0855)
OKLCHoklch(45.29% 0.097 118.5)
XYZxyz(7.4090, 9.6186, 1.9965)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515D11 #1D115D
analogous
#5D4311 #515D11 #2B5D11
triadic
#515D11 #11515D #5D1151
tetradic
#515D11 #115D43 #1D115D #5D112B
square
#515D11 #115D43 #1D115D #5D112B
split-complementary
#515D11 #112B5D #43115D
monochromatic
#171A05 #242908 #515D11 #7E911A #ABC424

Accessibility & contrast

On white

7.18
#515D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#515D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515D11
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515D11#FFFFFF#000000##FFFFFF
##515D111.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645701
Deuteranopia (green-blind)
#625818
Tritanopia (blue-blind)
#56574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515d11;
/* rgb */ color: rgb(81, 93, 17);
/* oklch */ color: oklch(45.3% 0.097 118.5);
Tailwind
colors: {
  custom: {
    50: '#848a56',
    500: '#515d11',
    950: '#000000',
  },
}
SCSS
$custom: #515d11;
$custom-light: #848a56;
$custom-dark: #000000;
JSON
{
  "hex": "#515d11",
  "rgb": {
    "r": 81,
    "g": 93,
    "b": 17
  },
  "hsl": {
    "h": 69.474,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45289,
    "c": 0.09733,
    "h": 118.5
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#515D11
secondary
#443496
accent
#3CEC58
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515D11

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

Preview Lab → · Contrast checker → · Palette generator →

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