#8D8330#8D8330

#8D8330 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.2% C 0.104 H 102.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8D8330
RGBrgb(141, 131, 48)
HSLhsl(54, 49%, 37%)
HSVhsv(54, 66%, 55%)
CMYKcmyk(0%, 7.1%, 66%, 44.7%)
CIE-LABlab(54.14, -6.77, 44.71)
CIE-LCHlch(54.14, 45.22, 98.60°)
OKLaboklab(60.24% -0.0224 0.1014)
OKLCHoklch(60.24% 0.104 102.4)
XYZxyz(19.6351, 22.1095, 6.0290)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D8330 #303A8D
analogous
#8D5430 #8D8330 #698D30
triadic
#8D8330 #308D83 #83308D
tetradic
#8D8330 #308D54 #303A8D #8D3069
square
#8D8330 #308D54 #303A8D #8D3069
split-complementary
#8D8330 #30698D #54308D
monochromatic
#322E11 #5F5920 #8D8330 #BBAD40 #CDC26B

Accessibility & contrast

On white

3.87
#8D8330 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#8D8330 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D8330
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D8330#FFFFFF#000000##000000
##8D83301.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F26
Deuteranopia (green-blind)
#928335
Tritanopia (blue-blind)
#977A72
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #8d8330;
/* rgb */ color: rgb(141, 131, 48);
/* oklch */ color: oklch(60.2% 0.104 102.4);
Tailwind
colors: {
  custom: {
    50: '#b1a66d',
    500: '#8d8330',
    950: '#000000',
  },
}
SCSS
$custom: #8d8330;
$custom-light: #b1a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#8d8330",
  "rgb": {
    "r": 141,
    "g": 131,
    "b": 48
  },
  "hsl": {
    "h": 53.548,
    "s": 49.206,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60236,
    "c": 0.10386,
    "h": 102.4
  },
  "luminance": 0.22109
}

Semantic roles & 50–950 ramp

primary
#8D8330
secondary
#656DB4
accent
#5ED94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8D8330

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

Preview Lab → · Contrast checker → · Palette generator →

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