#505331#505331

#505331 is a dark, muted yellow. Relative luminance 0.081; OKLCH L 43.0% C 0.052 H 112.7°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#505331
RGBrgb(80, 83, 49)
HSLhsl(65, 26%, 26%)
HSVhsv(65, 41%, 33%)
CMYKcmyk(3.6%, 0%, 41%, 67.5%)
CIE-LABlab(34.22, -7.32, 19.52)
CIE-LCHlch(34.22, 20.85, 110.55°)
OKLaboklab(43.04% -0.02 0.0478)
OKLCHoklch(43.04% 0.052 112.7)
XYZxyz(6.9560, 8.1138, 4.1048)
Luminance0.0811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505331 #343153
analogous
#534531 #505331 #3F5331
triadic
#505331 #315053 #533150
tetradic
#505331 #315345 #343153 #53313F
square
#505331 #315345 #343153 #53313F
split-complementary
#505331 #313F53 #453153
monochromatic
#13130B #2B2D1A #505331 #757948 #9AA05E

Accessibility & contrast

On white

8.01
#505331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#505331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505331
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505331#FFFFFF#000000##FFFFFF
##5053311.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502E
Deuteranopia (green-blind)
#585133
Tritanopia (blue-blind)
#544F4B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #505331;
/* rgb */ color: rgb(80, 83, 49);
/* oklch */ color: oklch(43.0% 0.052 112.7);
Tailwind
colors: {
  custom: {
    50: '#828369',
    500: '#505331',
    950: '#000000',
  },
}
SCSS
$custom: #505331;
$custom-light: #828369;
$custom-dark: #000000;
JSON
{
  "hex": "#505331",
  "rgb": {
    "r": 80,
    "g": 83,
    "b": 49
  },
  "hsl": {
    "h": 65.294,
    "s": 25.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.43035,
    "c": 0.05185,
    "h": 112.7
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#505331
secondary
#5F5C84
accent
#66C26E
background
#F7F8F6
surface
#EEEFEB
border
#C9CAC6
text
#0A0A06
muted
#7C7C7A

Preview Lab

Preview with #505331

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

Preview Lab → · Contrast checker → · Palette generator →

#505331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva