#505C11#505C11

#505C11 is a dark, moderate yellow. Relative luminance 0.094; OKLCH L 44.9% C 0.096 H 118.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#505C11
RGBrgb(80, 92, 17)
HSLhsl(70, 69%, 21%)
HSVhsv(70, 82%, 36%)
CMYKcmyk(13%, 0%, 81.5%, 63.9%)
CIE-LABlab(36.74, -15.42, 38.49)
CIE-LCHlch(36.74, 41.47, 111.84°)
OKLaboklab(44.94% -0.0462 0.0847)
OKLCHoklch(44.94% 0.096 118.6)
XYZxyz(7.2368, 9.4003, 1.9634)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C11 #1D115C
analogous
#5C4311 #505C11 #2B5C11
triadic
#505C11 #11505C #5C1150
tetradic
#505C11 #115C43 #1D115C #5C112B
square
#505C11 #115C43 #1D115C #5C112B
split-complementary
#505C11 #112B5C #43115C
monochromatic
#161A05 #232807 #505C11 #7D901B #AAC324

Accessibility & contrast

On white

7.29
#505C11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#505C11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505C11
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505C11#FFFFFF#000000##FFFFFF
##505C111.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635601
Deuteranopia (green-blind)
#615718
Tritanopia (blue-blind)
#55564E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505c11;
/* rgb */ color: rgb(80, 92, 17);
/* oklch */ color: oklch(44.9% 0.096 118.6);
Tailwind
colors: {
  custom: {
    50: '#848a56',
    500: '#505c11',
    950: '#000000',
  },
}
SCSS
$custom: #505c11;
$custom-light: #848a56;
$custom-dark: #000000;
JSON
{
  "hex": "#505c11",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 69.6,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.44942,
    "c": 0.09648,
    "h": 118.6
  },
  "luminance": 0.094
}

Semantic roles & 50–950 ramp

primary
#505C11
secondary
#443495
accent
#3CEC58
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505C11

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

Preview Lab → · Contrast checker → · Palette generator →

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