#8D9331#8D9331

#8D9331 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 63.9% C 0.120 H 112.7°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#8D9331
RGBrgb(141, 147, 49)
HSLhsl(64, 50%, 38%)
HSVhsv(64, 67%, 58%)
CMYKcmyk(4.1%, 0%, 66.7%, 42.4%)
CIE-LABlab(58.74, -15.30, 49.09)
CIE-LCHlch(58.74, 51.42, 107.32°)
OKLaboklab(63.91% -0.0464 0.1108)
OKLCHoklch(63.91% 0.12 112.7)
XYZxyz(21.9732, 26.7524, 6.9114)
Luminance0.2675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9331 #373193
analogous
#936831 #8D9331 #5C9331
triadic
#8D9331 #318D93 #93318D
tetradic
#8D9331 #319368 #373193 #93315C
square
#8D9331 #319368 #373193 #93315C
split-complementary
#8D9331 #315C93 #683193
monochromatic
#353712 #616522 #8D9331 #B8C041 #C9CF6F

Accessibility & contrast

On white

3.31
#8D9331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#8D9331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9331
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9331#FFFFFF#000000##000000
##8D93311.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C24
Deuteranopia (green-blind)
#9E8E38
Tritanopia (blue-blind)
#968A7F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d9331;
/* rgb */ color: rgb(141, 147, 49);
/* oklch */ color: oklch(63.9% 0.120 112.7);
Tailwind
colors: {
  custom: {
    50: '#b1b26f',
    500: '#8d9331',
    950: '#000000',
  },
}
SCSS
$custom: #8d9331;
$custom-light: #b1b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9331",
  "rgb": {
    "r": 141,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 63.673,
    "s": 50,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63908,
    "c": 0.12014,
    "h": 112.7
  },
  "luminance": 0.26752
}

Semantic roles & 50–950 ramp

primary
#8D9331
secondary
#6E69B7
accent
#4EDA57
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111008
muted
#807F7B

Preview Lab

Preview with #8D9331

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

Preview Lab → · Contrast checker → · Palette generator →

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