#8D8325#8D8325

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

Color values

HEX#8D8325
RGBrgb(141, 131, 37)
HSLhsl(54, 58%, 35%)
HSVhsv(54, 74%, 55%)
CMYKcmyk(0%, 7.1%, 73.8%, 44.7%)
CIE-LABlab(54.06, -7.41, 49.27)
CIE-LCHlch(54.06, 49.83, 98.55°)
OKLaboklab(60.14% -0.0254 0.1091)
OKLCHoklch(60.14% 0.112 103.1)
XYZxyz(19.4356, 22.0297, 4.9783)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8325 #252F8D
analogous
#8D4F25 #8D8325 #638D25
triadic
#8D8325 #258D83 #83258D
tetradic
#8D8325 #258D4F #252F8D #8D2563
square
#8D8325 #258D4F #252F8D #8D2563
split-complementary
#8D8325 #25638D #4F258D
monochromatic
#2C290C #5D5618 #8D8325 #BDB032 #D3C859

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D8325#FFFFFF#000000##000000
##8D83251.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)
#8F7F15
Deuteranopia (green-blind)
#92832B
Tritanopia (blue-blind)
#987A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8325;
/* rgb */ color: rgb(141, 131, 37);
/* oklch */ color: oklch(60.1% 0.112 103.1);
Tailwind
colors: {
  custom: {
    50: '#b2a666',
    500: '#8d8325',
    950: '#000000',
  },
}
SCSS
$custom: #8d8325;
$custom-light: #b2a666;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8325",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 37
  },
  "hsl": {
    "h": 54.231,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60142,
    "c": 0.11203,
    "h": 103.1
  },
  "luminance": 0.22029
}

Semantic roles & 50–950 ramp

primary
#8D8325
secondary
#565FB8
accent
#55E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8D8325

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

Preview Lab → · Contrast checker → · Palette generator →

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