#8D991A#8D991A

#8D991A is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.2% C 0.141 H 115.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8D991A
RGBrgb(141, 153, 26)
HSLhsl(66, 71%, 35%)
HSVhsv(66, 83%, 60%)
CMYKcmyk(7.8%, 0%, 83%, 40%)
CIE-LABlab(60.36, -19.53, 58.65)
CIE-LCHlch(60.36, 61.82, 108.42°)
OKLaboklab(65.16% -0.0602 0.127)
OKLCHoklch(65.16% 0.141 115.4)
XYZxyz(22.5629, 28.5202, 5.2934)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D991A #261A99
analogous
#99651A #8D991A #4E991A
triadic
#8D991A #1A8D99 #991A8D
tetradic
#8D991A #1A9965 #261A99 #991A4E
square
#8D991A #1A9965 #261A99 #991A4E
split-complementary
#8D991A #1A4E99 #651A99
monochromatic
#2D3008 #5D6511 #8D991A #BDCD23 #D3E14D

Accessibility & contrast

On white

3.13
#8D991A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#8D991A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D991A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D991A#FFFFFF#000000##000000
##8D991A1.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A49227
Tritanopia (blue-blind)
#979082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d991a;
/* rgb */ color: rgb(141, 153, 26);
/* oklch */ color: oklch(65.2% 0.141 115.4);
Tailwind
colors: {
  custom: {
    50: '#b2b664',
    500: '#8d991a',
    950: '#000000',
  },
}
SCSS
$custom: #8d991a;
$custom-light: #b2b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8d991a",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 26
  },
  "hsl": {
    "h": 65.669,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65157,
    "c": 0.14055,
    "h": 115.4
  },
  "luminance": 0.2852
}

Semantic roles & 50–950 ramp

primary
#8D991A
secondary
#574CC3
accent
#3AEE4B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D991A

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

Preview Lab → · Contrast checker → · Palette generator →

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