#505C10#505C10

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

Color values

HEX#505C10
RGBrgb(80, 92, 16)
HSLhsl(69, 70%, 21%)
HSVhsv(69, 83%, 36%)
CMYKcmyk(13%, 0%, 82.6%, 63.9%)
CIE-LABlab(36.74, -15.47, 38.84)
CIE-LCHlch(36.74, 41.81, 111.72°)
OKLaboklab(44.94% -0.0464 0.0853)
OKLCHoklch(44.94% 0.097 118.6)
XYZxyz(7.2291, 9.3972, 1.9231)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505C10 #1C105C
analogous
#5C4210 #505C10 #2A5C10
triadic
#505C10 #10505C #5C1050
tetradic
#505C10 #105C42 #1C105C #5C102A
square
#505C10 #105C42 #1C105C #5C102A
split-complementary
#505C10 #102A5C #42105C
monochromatic
#171A05 #232807 #505C10 #7D9019 #ABC422

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505C10#FFFFFF#000000##FFFFFF
##505C101.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)
#635600
Deuteranopia (green-blind)
#615717
Tritanopia (blue-blind)
#55564E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #505c10;
/* rgb */ color: rgb(80, 92, 16);
/* oklch */ color: oklch(44.9% 0.097 118.6);
Tailwind
colors: {
  custom: {
    50: '#848a56',
    500: '#505c10',
    950: '#000000',
  },
}
SCSS
$custom: #505c10;
$custom-light: #848a56;
$custom-dark: #000000;
JSON
{
  "hex": "#505c10",
  "rgb": {
    "r": 80,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 69.474,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.44936,
    "c": 0.09707,
    "h": 118.6
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#505C10
secondary
#423395
accent
#3BED57
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505C10

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

Preview Lab → · Contrast checker → · Palette generator →

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