#8D981A#8D981A

#8D981A is a light, vivid yellow. Relative luminance 0.282; OKLCH L 64.9% C 0.139 H 114.9°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#8D981A
RGBrgb(141, 152, 26)
HSLhsl(65, 71%, 35%)
HSVhsv(65, 83%, 60%)
CMYKcmyk(7.2%, 0%, 82.9%, 40.4%)
CIE-LABlab(60.06, -19.02, 58.40)
CIE-LCHlch(60.06, 61.42, 108.04°)
OKLaboklab(64.92% -0.0588 0.1265)
OKLCHoklch(64.92% 0.139 114.9)
XYZxyz(22.3999, 28.1942, 5.2391)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D981A #251A98
analogous
#98641A #8D981A #4E981A
triadic
#8D981A #1A8D98 #981A8D
tetradic
#8D981A #1A9864 #251A98 #981A4E
square
#8D981A #1A9864 #251A98 #981A4E
split-complementary
#8D981A #1A4E98 #641A98
monochromatic
#2C2F08 #5D6411 #8D981A #BDCC23 #D3E04C

Accessibility & contrast

On white

3.16
#8D981A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#8D981A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D981A
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D981A#FFFFFF#000000##000000
##8D981A1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#978F82
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d981a;
/* rgb */ color: rgb(141, 152, 26);
/* oklch */ color: oklch(64.9% 0.139 114.9);
Tailwind
colors: {
  custom: {
    50: '#b2b664',
    500: '#8d981a',
    950: '#000000',
  },
}
SCSS
$custom: #8d981a;
$custom-light: #b2b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8d981a",
  "rgb": {
    "r": 141,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 65.238,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64922,
    "c": 0.13945,
    "h": 114.9
  },
  "luminance": 0.28194
}

Semantic roles & 50–950 ramp

primary
#8D981A
secondary
#564BC2
accent
#3AEE4A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D981A

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

Preview Lab → · Contrast checker → · Palette generator →

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