#8D8A32#8D8A32

#8D8A32 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 61.8% C 0.109 H 107.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#8D8A32
RGBrgb(141, 138, 50)
HSLhsl(58, 48%, 37%)
HSVhsv(58, 65%, 55%)
CMYKcmyk(0%, 2.1%, 64.5%, 44.7%)
CIE-LABlab(56.16, -10.45, 45.94)
CIE-LCHlch(56.16, 47.12, 102.81°)
OKLaboklab(61.85% -0.0326 0.1044)
OKLCHoklch(61.85% 0.109 107.3)
XYZxyz(20.6494, 24.0706, 6.5754)
Luminance0.2407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8A32 #32358D
analogous
#8D5D32 #8D8A32 #638D32
triadic
#8D8A32 #328D8A #8A328D
tetradic
#8D8A32 #328D5D #32358D #8D3263
square
#8D8A32 #328D5D #32358D #8D3263
split-complementary
#8D8A32 #32638D #5D328D
monochromatic
#333212 #605E22 #8D8A32 #BAB642 #CCC86E

Accessibility & contrast

On white

3.61
#8D8A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#8D8A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8A32
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8A32#FFFFFF#000000##000000
##8D8A321.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958527
Deuteranopia (green-blind)
#978837
Tritanopia (blue-blind)
#978178
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8d8a32;
/* rgb */ color: rgb(141, 138, 50);
/* oklch */ color: oklch(61.8% 0.109 107.3);
Tailwind
colors: {
  custom: {
    50: '#b1ab6e',
    500: '#8d8a32',
    950: '#000000',
  },
}
SCSS
$custom: #8d8a32;
$custom-light: #b1ab6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8a32",
  "rgb": {
    "r": 141,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 58.022,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61845,
    "c": 0.10933,
    "h": 107.3
  },
  "luminance": 0.2407
}

Semantic roles & 50–950 ramp

primary
#8D8A32
secondary
#686AB3
accent
#55D751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D8A32

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

Preview Lab → · Contrast checker → · Palette generator →

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