#8D8A46#8D8A46

#8D8A46 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.1% C 0.090 H 106.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8D8A46
RGBrgb(141, 138, 70)
HSLhsl(57, 34%, 41%)
HSVhsv(57, 50%, 55%)
CMYKcmyk(0%, 2.1%, 50.4%, 44.7%)
CIE-LABlab(56.37, -8.81, 36.49)
CIE-LCHlch(56.37, 37.54, 103.57°)
OKLaboklab(62.08% -0.0256 0.0865)
OKLCHoklch(62.08% 0.09 106.5)
XYZxyz(21.1790, 24.2824, 9.3645)
Luminance0.2428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A46 #46498D
analogous
#8D6746 #8D8A46 #6D8D46
triadic
#8D8A46 #468D8A #8A468D
tetradic
#8D8A46 #468D67 #46498D #8D466D
square
#8D8A46 #468D67 #46498D #8D466D
split-complementary
#8D8A46 #466D8D #67468D
monochromatic
#3B3A1D #646232 #8D8A46 #B0AD60 #C4C289

Accessibility & contrast

On white

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

On black

5.86
#8D8A46 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A46
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A46#FFFFFF#000000##000000
##8D8A461.003.595.865.86
#FFFFFF3.591.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d8a46;
/* rgb */ color: rgb(141, 138, 70);
/* oklch */ color: oklch(62.1% 0.090 106.5);
Tailwind
colors: {
  custom: {
    50: '#b0ac7b',
    500: '#8d8a46',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a46;
$custom-light: #b0ac7b;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a46",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 70
  },
  "hsl": {
    "h": 57.465,
    "s": 33.649,
    "l": 41.373
  },
  "oklch": {
    "l": 0.62081,
    "c": 0.09025,
    "h": 106.5
  },
  "luminance": 0.24282
}

Semantic roles & 50–950 ramp

primary
#8D8A46
secondary
#7F81B0
accent
#63CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#111009
muted
#807F7B

Preview Lab

Preview with #8D8A46

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

Preview Lab → · Contrast checker → · Palette generator →

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