#8D8532#8D8532

#8D8532 is a mid, moderate yellow. Relative luminance 0.227; OKLCH L 60.7% C 0.104 H 103.8°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#8D8532
RGBrgb(141, 133, 50)
HSLhsl(55, 48%, 37%)
HSVhsv(55, 65%, 55%)
CMYKcmyk(0%, 5.7%, 64.5%, 44.7%)
CIE-LABlab(54.73, -7.73, 44.42)
CIE-LCHlch(54.73, 45.09, 99.87°)
OKLaboklab(60.71% -0.0249 0.1011)
OKLCHoklch(60.71% 0.104 103.8)
XYZxyz(19.9485, 22.6688, 6.3417)
Luminance0.2267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8532 #323A8D
analogous
#8D5732 #8D8532 #688D32
triadic
#8D8532 #328D85 #85328D
tetradic
#8D8532 #328D57 #323A8D #8D3268
square
#8D8532 #328D57 #323A8D #8D3268
split-complementary
#8D8532 #32688D #57328D
monochromatic
#333012 #605A22 #8D8532 #BAB042 #CCC36E

Accessibility & contrast

On white

3.79
#8D8532 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#8D8532 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8532
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8532#FFFFFF#000000##000000
##8D85321.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908128
Deuteranopia (green-blind)
#938537
Tritanopia (blue-blind)
#977C74
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8d8532;
/* rgb */ color: rgb(141, 133, 50);
/* oklch */ color: oklch(60.7% 0.104 103.8);
Tailwind
colors: {
  custom: {
    50: '#b1a86e',
    500: '#8d8532',
    950: '#000000',
  },
}
SCSS
$custom: #8d8532;
$custom-light: #b1a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8532",
  "rgb": {
    "r": 141,
    "g": 133,
    "b": 50
  },
  "hsl": {
    "h": 54.725,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.10414,
    "h": 103.8
  },
  "luminance": 0.22668
}

Semantic roles & 50–950 ramp

primary
#8D8532
secondary
#686EB3
accent
#5CD751
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8532

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

Preview Lab → · Contrast checker → · Palette generator →

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