#505D0D#505D0D

#505D0D is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.2% C 0.100 H 119.1°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#505D0D
RGBrgb(80, 93, 13)
HSLhsl(70, 75%, 21%)
HSVhsv(70, 86%, 36%)
CMYKcmyk(14%, 0%, 86%, 63.5%)
CIE-LABlab(37.05, -16.16, 40.12)
CIE-LCHlch(37.05, 43.25, 111.94°)
OKLaboklab(45.18% -0.0486 0.0874)
OKLCHoklch(45.18% 0.1 119.1)
XYZxyz(7.2954, 9.5633, 1.8423)
Luminance0.0956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505D0D #1A0D5D
analogous
#5D420D #505D0D #285D0D
triadic
#505D0D #0D505D #5D0D50
tetradic
#505D0D #0D5D42 #1A0D5D #5D0D28
square
#505D0D #0D5D42 #1A0D5D #5D0D28
split-complementary
#505D0D #0D285D #420D5D
monochromatic
#171B04 #222705 #505D0D #7E9315 #ACC81C

Accessibility & contrast

On white

7.21
#505D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#505D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505D0D
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505D0D#FFFFFF#000000##FFFFFF
##505D0D1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#625715
Tritanopia (blue-blind)
#55574F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #505d0d;
/* rgb */ color: rgb(80, 93, 13);
/* oklch */ color: oklch(45.2% 0.100 119.1);
Tailwind
colors: {
  custom: {
    50: '#848a54',
    500: '#505d0d',
    950: '#000000',
  },
}
SCSS
$custom: #505d0d;
$custom-light: #848a54;
$custom-dark: #000000;
JSON
{
  "hex": "#505d0d",
  "rgb": {
    "r": 80,
    "g": 93,
    "b": 13
  },
  "hsl": {
    "h": 69.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.45179,
    "c": 0.09996,
    "h": 119.1
  },
  "luminance": 0.09563
}

Semantic roles & 50–950 ramp

primary
#505D0D
secondary
#402F97
accent
#36F254
background
#F8F8F5
surface
#EFF0E9
border
#CACBC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #505D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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