#515C11#515C11

#515C11 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.0% C 0.096 H 117.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#515C11
RGBrgb(81, 92, 17)
HSLhsl(69, 69%, 21%)
HSVhsv(69, 82%, 36%)
CMYKcmyk(12%, 0%, 81.5%, 63.9%)
CIE-LABlab(36.83, -14.95, 38.60)
CIE-LCHlch(36.83, 41.39, 111.17°)
OKLaboklab(45.03% -0.0449 0.0849)
OKLCHoklch(45.03% 0.096 117.9)
XYZxyz(7.3218, 9.4442, 1.9674)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#515C11 #1C115C
analogous
#5C4211 #515C11 #2C5C11
triadic
#515C11 #11515C #5C1151
tetradic
#515C11 #115C42 #1C115C #5C112C
square
#515C11 #115C42 #1C115C #5C112C
split-complementary
#515C11 #112C5C #42115C
monochromatic
#171A05 #242807 #515C11 #7E901B #ACC324

Accessibility & contrast

On white

7.27
#515C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#515C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #515C11
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##515C11#FFFFFF#000000##FFFFFF
##515C111.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635601
Deuteranopia (green-blind)
#625718
Tritanopia (blue-blind)
#56564E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #515c11;
/* rgb */ color: rgb(81, 92, 17);
/* oklch */ color: oklch(45.0% 0.096 117.9);
Tailwind
colors: {
  custom: {
    50: '#848a56',
    500: '#515c11',
    950: '#000000',
  },
}
SCSS
$custom: #515c11;
$custom-light: #848a56;
$custom-dark: #000000;
JSON
{
  "hex": "#515c11",
  "rgb": {
    "r": 81,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 68.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.09606,
    "h": 117.9
  },
  "luminance": 0.09444
}

Semantic roles & 50–950 ramp

primary
#515C11
secondary
#423495
accent
#3CEC56
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #515C11

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

Preview Lab → · Contrast checker → · Palette generator →

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