#8D8326#8D8326

#8D8326 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.111 H 103.1°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8D8326
RGBrgb(141, 131, 38)
HSLhsl(54, 58%, 35%)
HSVhsv(54, 73%, 55%)
CMYKcmyk(0%, 7.1%, 73%, 44.7%)
CIE-LABlab(54.07, -7.35, 48.89)
CIE-LCHlch(54.07, 49.44, 98.56°)
OKLaboklab(60.15% -0.0252 0.1085)
OKLCHoklch(60.15% 0.111 103.1)
XYZxyz(19.4515, 22.0361, 5.0621)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8326 #26308D
analogous
#8D5026 #8D8326 #638D26
triadic
#8D8326 #268D83 #83268D
tetradic
#8D8326 #268D50 #26308D #8D2663
square
#8D8326 #268D50 #26308D #8D2663
split-complementary
#8D8326 #26638D #50268D
monochromatic
#2D290C #5D5619 #8D8326 #BDB033 #D3C75B

Accessibility & contrast

On white

3.88
#8D8326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#8D8326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8326
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8326#FFFFFF#000000##000000
##8D83261.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F17
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#987A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8326;
/* rgb */ color: rgb(141, 131, 38);
/* oklch */ color: oklch(60.2% 0.111 103.1);
Tailwind
colors: {
  custom: {
    50: '#b2a667',
    500: '#8d8326',
    950: '#000000',
  },
}
SCSS
$custom: #8d8326;
$custom-light: #b2a667;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8326",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 38
  },
  "hsl": {
    "h": 54.175,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6015,
    "c": 0.11136,
    "h": 103.1
  },
  "luminance": 0.22035
}

Semantic roles & 50–950 ramp

primary
#8D8326
secondary
#5761B8
accent
#56E147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8326

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

Preview Lab → · Contrast checker → · Palette generator →

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