#505129#505129

#505129 is a dark, muted yellow. Relative luminance 0.077; OKLCH L 42.4% C 0.059 H 109.9°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#505129
RGBrgb(80, 81, 41)
HSLhsl(62, 33%, 24%)
HSVhsv(62, 49%, 32%)
CMYKcmyk(1.2%, 0%, 49.4%, 68.2%)
CIE-LABlab(33.46, -7.14, 23.28)
CIE-LCHlch(33.46, 24.35, 107.05°)
OKLaboklab(42.39% -0.0202 0.0558)
OKLCHoklch(42.39% 0.059 109.9)
XYZxyz(6.6511, 7.7506, 3.2430)
Luminance0.0775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#505129 #2A2951
analogous
#513E29 #505129 #3C5129
triadic
#505129 #295051 #512950
tetradic
#505129 #29513E #2A2951 #51293C
square
#505129 #29513E #2A2951 #51293C
split-complementary
#505129 #293C51 #3E2951
monochromatic
#14140A #282814 #505129 #787A3E #A0A252

Accessibility & contrast

On white

8.24
#505129 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#505129 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #505129
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##505129#FFFFFF#000000##FFFFFF
##5051291.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E26
Deuteranopia (green-blind)
#574F2B
Tritanopia (blue-blind)
#554D48
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #505129;
/* rgb */ color: rgb(80, 81, 41);
/* oklch */ color: oklch(42.4% 0.059 109.9);
Tailwind
colors: {
  custom: {
    50: '#828164',
    500: '#505129',
    950: '#000000',
  },
}
SCSS
$custom: #505129;
$custom-light: #828164;
$custom-dark: #000000;
JSON
{
  "hex": "#505129",
  "rgb": {
    "r": 80,
    "g": 81,
    "b": 41
  },
  "hsl": {
    "h": 61.5,
    "s": 32.787,
    "l": 23.922
  },
  "oklch": {
    "l": 0.42387,
    "c": 0.05933,
    "h": 109.9
  },
  "luminance": 0.0775
}

Semantic roles & 50–950 ramp

primary
#505129
secondary
#545283
accent
#5FC962
background
#F8F7F6
surface
#EFEEEB
border
#CAC9C6
text
#0A0A05
muted
#7C7C7A

Preview Lab

Preview with #505129

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

Preview Lab → · Contrast checker → · Palette generator →

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