#8D991D#8D991D

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

Color values

HEX#8D991D
RGBrgb(141, 153, 29)
HSLhsl(66, 68%, 36%)
HSVhsv(66, 81%, 60%)
CMYKcmyk(7.8%, 0%, 81%, 40%)
CIE-LABlab(60.37, -19.42, 57.83)
CIE-LCHlch(60.37, 61.00, 108.56°)
OKLaboklab(65.17% -0.0597 0.1258)
OKLCHoklch(65.17% 0.139 115.4)
XYZxyz(22.5982, 28.5343, 5.4794)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D991D #291D99
analogous
#99671D #8D991D #4F991D
triadic
#8D991D #1D8D99 #991D8D
tetradic
#8D991D #1D9967 #291D99 #991D4F
square
#8D991D #1D9967 #291D99 #991D4F
split-complementary
#8D991D #1D4F99 #671D99
monochromatic
#2E3209 #5E6613 #8D991D #BCCC27 #D1DE52

Accessibility & contrast

On white

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

On black

6.71
#8D991D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D991D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D991D#FFFFFF#000000##000000
##8D991D1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A49229
Tritanopia (blue-blind)
#979083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d991d;
/* rgb */ color: rgb(141, 153, 29);
/* oklch */ color: oklch(65.2% 0.139 115.4);
Tailwind
colors: {
  custom: {
    50: '#b2b665',
    500: '#8d991d',
    950: '#000000',
  },
}
SCSS
$custom: #8d991d;
$custom-light: #b2b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8d991d",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 29
  },
  "hsl": {
    "h": 65.806,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.65171,
    "c": 0.13921,
    "h": 115.4
  },
  "luminance": 0.28534
}

Semantic roles & 50–950 ramp

primary
#8D991D
secondary
#5B51C1
accent
#3DEB4E
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D991D

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

Preview Lab → · Contrast checker → · Palette generator →

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