#8D931A#8D931A

#8D931A is a light, vivid yellow. Relative luminance 0.266; OKLCH L 63.8% C 0.134 H 112.7°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D931A
RGBrgb(141, 147, 26)
HSLhsl(63, 70%, 34%)
HSVhsv(63, 82%, 58%)
CMYKcmyk(4.1%, 0%, 82.3%, 42.4%)
CIE-LABlab(58.61, -16.43, 57.14)
CIE-LCHlch(58.61, 59.45, 106.05°)
OKLaboklab(63.75% -0.0516 0.1237)
OKLCHoklch(63.75% 0.134 112.7)
XYZxyz(21.6054, 26.6053, 4.9743)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D931A #201A93
analogous
#935D1A #8D931A #51931A
triadic
#8D931A #1A8D93 #931A8D
tetradic
#8D931A #1A935D #201A93 #931A51
square
#8D931A #1A935D #201A93 #931A51
split-complementary
#8D931A #1A5193 #5D1A93
monochromatic
#292B08 #5B5F11 #8D931A #BFC723 #D7DF49

Accessibility & contrast

On white

3.32
#8D931A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#8D931A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D931A
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D931A#FFFFFF#000000##000000
##8D931A1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9F8E26
Tritanopia (blue-blind)
#978A7D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8d931a;
/* rgb */ color: rgb(141, 147, 26);
/* oklch */ color: oklch(63.8% 0.134 112.7);
Tailwind
colors: {
  custom: {
    50: '#b2b263',
    500: '#8d931a',
    950: '#000000',
  },
}
SCSS
$custom: #8d931a;
$custom-light: #b2b263;
$custom-dark: #000000;
JSON
{
  "hex": "#8d931a",
  "rgb": {
    "r": 141,
    "g": 147,
    "b": 26
  },
  "hsl": {
    "h": 62.975,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63754,
    "c": 0.13408,
    "h": 112.7
  },
  "luminance": 0.26605
}

Semantic roles & 50–950 ramp

primary
#8D931A
secondary
#4E48C0
accent
#3BED44
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D931A

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

Preview Lab → · Contrast checker → · Palette generator →

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