#8D8932#8D8932

#8D8932 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.6% C 0.108 H 106.7°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8D8932
RGBrgb(141, 137, 50)
HSLhsl(57, 48%, 37%)
HSVhsv(57, 65%, 55%)
CMYKcmyk(0%, 2.8%, 64.5%, 44.7%)
CIE-LABlab(55.87, -9.91, 45.64)
CIE-LCHlch(55.87, 46.70, 102.25°)
OKLaboklab(61.62% -0.031 0.1037)
OKLCHoklch(61.62% 0.108 106.7)
XYZxyz(20.5066, 23.7850, 6.5277)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8932 #32368D
analogous
#8D5C32 #8D8932 #638D32
triadic
#8D8932 #328D89 #89328D
tetradic
#8D8932 #328D5C #32368D #8D3263
square
#8D8932 #328D5C #32368D #8D3263
split-complementary
#8D8932 #32638D #5C328D
monochromatic
#333112 #605D22 #8D8932 #BAB542 #CCC76E

Accessibility & contrast

On white

3.65
#8D8932 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#8D8932 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8932
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8932#FFFFFF#000000##000000
##8D89321.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948427
Deuteranopia (green-blind)
#968837
Tritanopia (blue-blind)
#978077
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8d8932;
/* rgb */ color: rgb(141, 137, 50);
/* oklch */ color: oklch(61.6% 0.108 106.7);
Tailwind
colors: {
  custom: {
    50: '#b1ab6e',
    500: '#8d8932',
    950: '#000000',
  },
}
SCSS
$custom: #8d8932;
$custom-light: #b1ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8932",
  "rgb": {
    "r": 141,
    "g": 137,
    "b": 50
  },
  "hsl": {
    "h": 57.363,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61617,
    "c": 0.10826,
    "h": 106.7
  },
  "luminance": 0.23784
}

Semantic roles & 50–950 ramp

primary
#8D8932
secondary
#686BB3
accent
#56D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8932

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

Preview Lab → · Contrast checker → · Palette generator →

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