#505A10#505A10

#505A10 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.4% C 0.095 H 117.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#505A10
RGBrgb(80, 90, 16)
HSLhsl(68, 70%, 21%)
HSVhsv(68, 82%, 35%)
CMYKcmyk(11.1%, 0%, 82.2%, 64.7%)
CIE-LABlab(36.09, -14.37, 38.25)
CIE-LCHlch(36.09, 40.86, 110.59°)
OKLaboklab(44.42% -0.0434 0.084)
OKLCHoklch(44.42% 0.095 117.3)
XYZxyz(7.0581, 9.0553, 1.8661)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505A10 #1A105A
analogous
#5A3F10 #505A10 #2B5A10
triadic
#505A10 #10505A #5A1050
tetradic
#505A10 #105A3F #1A105A #5A102B
square
#505A10 #105A3F #1A105A #5A102B
split-complementary
#505A10 #102B5A #3F105A
monochromatic
#171A05 #222607 #505A10 #7E8E19 #ACC222

Accessibility & contrast

On white

7.47
#505A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#505A10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505A10
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505A10#FFFFFF#000000##FFFFFF
##505A101.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615501
Deuteranopia (green-blind)
#605517
Tritanopia (blue-blind)
#55544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #505a10;
/* rgb */ color: rgb(80, 90, 16);
/* oklch */ color: oklch(44.4% 0.095 117.3);
Tailwind
colors: {
  custom: {
    50: '#848855',
    500: '#505a10',
    950: '#000000',
  },
}
SCSS
$custom: #505a10;
$custom-light: #848855;
$custom-dark: #000000;
JSON
{
  "hex": "#505a10",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 16
  },
  "hsl": {
    "h": 68.108,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.44415,
    "c": 0.09453,
    "h": 117.3
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#505A10
secondary
#403393
accent
#3BED53
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505A10

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

Preview Lab → · Contrast checker → · Palette generator →

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