#50580F#50580F

#50580F is a dark, moderate yellow. Relative luminance 0.087; OKLCH L 43.9% C 0.093 H 115.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#50580F
RGBrgb(80, 88, 15)
HSLhsl(67, 71%, 20%)
HSVhsv(67, 83%, 35%)
CMYKcmyk(9.1%, 0%, 83%, 65.5%)
CIE-LABlab(35.44, -13.29, 38.00)
CIE-LCHlch(35.44, 40.26, 109.28°)
OKLaboklab(43.89% -0.0405 0.0833)
OKLCHoklch(43.89% 0.093 115.9)
XYZxyz(6.8844, 8.7195, 1.7722)
Luminance0.0872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#50580F #170F58
analogous
#583B0F #50580F #2C580F
triadic
#50580F #0F5058 #580F50
tetradic
#50580F #0F583B #170F58 #580F2C
square
#50580F #0F583B #170F58 #580F2C
split-complementary
#50580F #0F2C58 #3B0F58
monochromatic
#181A04 #202406 #50580F #808C18 #AFC121

Accessibility & contrast

On white

7.65
#50580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#50580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #50580F
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##50580F#FFFFFF#000000##FFFFFF
##50580F1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#5E5416
Tritanopia (blue-blind)
#56524A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #50580f;
/* rgb */ color: rgb(80, 88, 15);
/* oklch */ color: oklch(43.9% 0.093 115.9);
Tailwind
colors: {
  custom: {
    50: '#848755',
    500: '#50580f',
    950: '#000000',
  },
}
SCSS
$custom: #50580f;
$custom-light: #848755;
$custom-dark: #000000;
JSON
{
  "hex": "#50580f",
  "rgb": {
    "r": 80,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 66.575,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.0926,
    "h": 115.9
  },
  "luminance": 0.08719
}

Semantic roles & 50–950 ramp

primary
#50580F
secondary
#3C3192
accent
#3AEE4E
background
#F8F8F5
surface
#EFEFE9
border
#CACAC5
text
#0B0B03
muted
#7C7C78

Preview Lab

Preview with #50580F

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

Preview Lab → · Contrast checker → · Palette generator →

#50580F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva