#505A0E#505A0E

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

Color values

HEX#505A0E
RGBrgb(80, 90, 14)
HSLhsl(68, 73%, 20%)
HSVhsv(68, 84%, 35%)
CMYKcmyk(11.1%, 0%, 84.4%, 64.7%)
CIE-LABlab(36.08, -14.46, 38.93)
CIE-LCHlch(36.08, 41.53, 110.38°)
OKLaboklab(44.4% -0.0438 0.085)
OKLCHoklch(44.4% 0.096 117.3)
XYZxyz(7.0439, 9.0496, 1.7911)
Luminance0.0905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505A0E #180E5A
analogous
#5A3E0E #505A0E #2A5A0E
triadic
#505A0E #0E505A #5A0E50
tetradic
#505A0E #0E5A3E #180E5A #5A0E2A
square
#505A0E #0E5A3E #180E5A #5A0E2A
split-complementary
#505A0E #0E2A5A #3E0E5A
monochromatic
#181A04 #212506 #505A0E #7F8F16 #AEC41E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##505A0E#FFFFFF#000000##FFFFFF
##505A0E1.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)
#615500
Deuteranopia (green-blind)
#605515
Tritanopia (blue-blind)
#56544C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #505a0e;
/* rgb */ color: rgb(80, 90, 14);
/* oklch */ color: oklch(44.4% 0.096 117.3);
Tailwind
colors: {
  custom: {
    50: '#848854',
    500: '#505a0e',
    950: '#000000',
  },
}
SCSS
$custom: #505a0e;
$custom-light: #848854;
$custom-dark: #000000;
JSON
{
  "hex": "#505a0e",
  "rgb": {
    "r": 80,
    "g": 90,
    "b": 14
  },
  "hsl": {
    "h": 67.895,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.44402,
    "c": 0.09566,
    "h": 117.3
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#505A0E
secondary
#3D3094
accent
#38F050
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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