#8D8A41#8D8A41

#8D8A41 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.095 H 106.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8D8A41
RGBrgb(141, 138, 65)
HSLhsl(58, 37%, 40%)
HSVhsv(58, 54%, 55%)
CMYKcmyk(0%, 2.1%, 53.9%, 44.7%)
CIE-LABlab(56.31, -9.27, 38.97)
CIE-LCHlch(56.31, 40.06, 103.39°)
OKLaboklab(62.01% -0.0275 0.0914)
OKLCHoklch(62.01% 0.095 106.7)
XYZxyz(21.0277, 24.2219, 8.5676)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A41 #41448D
analogous
#8D6441 #8D8A41 #6A8D41
triadic
#8D8A41 #418D8A #8A418D
tetradic
#8D8A41 #418D64 #41448D #8D416A
square
#8D8A41 #418D64 #41448D #8D416A
split-complementary
#8D8A41 #416A8D #64418D
monochromatic
#39381A #63612E #8D8A41 #B2AF59 #C6C383

Accessibility & contrast

On white

3.59
#8D8A41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8D8A41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A41
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A41#FFFFFF#000000##000000
##8D8A411.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#94853A
Deuteranopia (green-blind)
#968845
Tritanopia (blue-blind)
#96827A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a41;
/* rgb */ color: rgb(141, 138, 65);
/* oklch */ color: oklch(62.0% 0.095 106.7);
Tailwind
colors: {
  custom: {
    50: '#b0ac78',
    500: '#8d8a41',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a41;
$custom-light: #b0ac78;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a41",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 65
  },
  "hsl": {
    "h": 57.632,
    "s": 36.893,
    "l": 40.392
  },
  "oklch": {
    "l": 0.62014,
    "c": 0.09548,
    "h": 106.7
  },
  "luminance": 0.24221
}

Semantic roles & 50–950 ramp

primary
#8D8A41
secondary
#797CB0
accent
#5FCD5B
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D8A41

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

Preview Lab → · Contrast checker → · Palette generator →

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