#8D8249#8D8249

#8D8249 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.078 H 98.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8D8249
RGBrgb(141, 130, 73)
HSLhsl(50, 32%, 42%)
HSVhsv(50, 48%, 55%)
CMYKcmyk(0%, 7.8%, 48.2%, 44.7%)
CIE-LABlab(54.14, -4.10, 32.21)
CIE-LCHlch(54.14, 32.47, 97.26°)
OKLaboklab(60.33% -0.0118 0.0773)
OKLCHoklch(60.33% 0.078 98.7)
XYZxyz(20.1703, 22.1097, 9.5072)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8249 #49548D
analogous
#8D6049 #8D8249 #768D49
triadic
#8D8249 #498D82 #82498D
tetradic
#8D8249 #498D60 #49548D #8D4976
square
#8D8249 #498D60 #49548D #8D4976
split-complementary
#8D8249 #49768D #60498D
monochromatic
#3C381F #655D34 #8D8249 #AFA364 #C4BB8D

Accessibility & contrast

On white

3.87
#8D8249 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8D8249 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8249
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8249#FFFFFF#000000##000000
##8D82491.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7F44
Deuteranopia (green-blind)
#8F834B
Tritanopia (blue-blind)
#967B74
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8249;
/* rgb */ color: rgb(141, 130, 73);
/* oklch */ color: oklch(60.3% 0.078 98.7);
Tailwind
colors: {
  custom: {
    50: '#b0a67d',
    500: '#8d8249',
    950: '#000000',
  },
}
SCSS
$custom: #8d8249;
$custom-light: #b0a67d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8249",
  "rgb": {
    "r": 141,
    "g": 130,
    "b": 73
  },
  "hsl": {
    "h": 50.294,
    "s": 31.776,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60328,
    "c": 0.07821,
    "h": 98.7
  },
  "luminance": 0.22109
}

Semantic roles & 50–950 ramp

primary
#8D8249
secondary
#828AB0
accent
#71C860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #8D8249

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

Preview Lab → · Contrast checker → · Palette generator →

#8D8249 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva