#8D8049#8D8049

#8D8049 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.9% C 0.076 H 96.4°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8D8049
RGBrgb(141, 128, 73)
HSLhsl(49, 32%, 42%)
HSVhsv(49, 48%, 55%)
CMYKcmyk(0%, 9.2%, 48.2%, 44.7%)
CIE-LABlab(53.58, -2.99, 31.51)
CIE-LCHlch(53.58, 31.66, 95.42°)
OKLaboklab(59.88% -0.0085 0.0758)
OKLCHoklch(59.88% 0.076 96.4)
XYZxyz(19.9068, 21.5828, 9.4193)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8049 #49568D
analogous
#8D5E49 #8D8049 #788D49
triadic
#8D8049 #498D80 #80498D
tetradic
#8D8049 #498D5E #49568D #8D4978
square
#8D8049 #498D5E #49568D #8D4978
split-complementary
#8D8049 #49788D #5E498D
monochromatic
#3C371F #655B34 #8D8049 #AFA164 #C4B98D

Accessibility & contrast

On white

3.95
#8D8049 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#8D8049 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8049
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8049#FFFFFF#000000##000000
##8D80491.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D45
Deuteranopia (green-blind)
#8E824B
Tritanopia (blue-blind)
#967973
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8d8049;
/* rgb */ color: rgb(141, 128, 73);
/* oklch */ color: oklch(59.9% 0.076 96.4);
Tailwind
colors: {
  custom: {
    50: '#b0a47d',
    500: '#8d8049',
    950: '#000000',
  },
}
SCSS
$custom: #8d8049;
$custom-light: #b0a47d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8049",
  "rgb": {
    "r": 141,
    "g": 128,
    "b": 73
  },
  "hsl": {
    "h": 48.529,
    "s": 31.776,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.07626,
    "h": 96.4
  },
  "luminance": 0.21582
}

Semantic roles & 50–950 ramp

primary
#8D8049
secondary
#828BB0
accent
#74C860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#110F09
muted
#807F7B

Preview Lab

Preview with #8D8049

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

Preview Lab → · Contrast checker → · Palette generator →

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