#8D8749#8D8749

#8D8749 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.084 H 103.7°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8D8749
RGBrgb(141, 135, 73)
HSLhsl(55, 32%, 42%)
HSVhsv(55, 48%, 55%)
CMYKcmyk(0%, 4.3%, 48.2%, 44.7%)
CIE-LABlab(55.56, -6.87, 33.94)
CIE-LCHlch(55.56, 34.63, 101.44°)
OKLaboklab(61.45% -0.0197 0.0812)
OKLCHoklch(61.45% 0.084 103.7)
XYZxyz(20.8516, 23.4723, 9.7343)
Luminance0.2347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8749 #494F8D
analogous
#8D6549 #8D8749 #718D49
triadic
#8D8749 #498D87 #87498D
tetradic
#8D8749 #498D65 #494F8D #8D4971
square
#8D8749 #498D65 #494F8D #8D4971
split-complementary
#8D8749 #49718D #65498D
monochromatic
#3C3A1F #656034 #8D8749 #AFA864 #C4BF8D

Accessibility & contrast

On white

3.69
#8D8749 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8D8749 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8749
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8749#FFFFFF#000000##000000
##8D87491.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918344
Deuteranopia (green-blind)
#93874C
Tritanopia (blue-blind)
#968078
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8d8749;
/* rgb */ color: rgb(141, 135, 73);
/* oklch */ color: oklch(61.4% 0.084 103.7);
Tailwind
colors: {
  custom: {
    50: '#b0a97d',
    500: '#8d8749',
    950: '#000000',
  },
}
SCSS
$custom: #8d8749;
$custom-light: #b0a97d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8749",
  "rgb": {
    "r": 141,
    "g": 135,
    "b": 73
  },
  "hsl": {
    "h": 54.706,
    "s": 31.776,
    "l": 41.961
  },
  "oklch": {
    "l": 0.61447,
    "c": 0.08355,
    "h": 103.7
  },
  "luminance": 0.23472
}

Semantic roles & 50–950 ramp

primary
#8D8749
secondary
#8286B0
accent
#69C860
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#110F0A
muted
#807F7C

Preview Lab

Preview with #8D8749

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

Preview Lab → · Contrast checker → · Palette generator →

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