#8D991F#8D991F

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

Color values

HEX#8D991F
RGBrgb(141, 153, 31)
HSLhsl(66, 66%, 36%)
HSVhsv(66, 80%, 60%)
CMYKcmyk(7.8%, 0%, 79.7%, 40%)
CIE-LABlab(60.38, -19.34, 57.25)
CIE-LCHlch(60.38, 60.43, 108.67°)
OKLaboklab(65.18% -0.0593 0.1249)
OKLCHoklch(65.18% 0.138 115.4)
XYZxyz(22.6237, 28.5445, 5.6139)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D991F #2B1F99
analogous
#99681F #8D991F #50991F
triadic
#8D991F #1F8D99 #991F8D
tetradic
#8D991F #1F9968 #2B1F99 #991F50
square
#8D991F #1F9968 #2B1F99 #991F50
split-complementary
#8D991F #1F5099 #681F99
monochromatic
#2F330A #5E6615 #8D991F #BCCC29 #CFDD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D991F#FFFFFF#000000##000000
##8D991F1.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)
#A4922B
Tritanopia (blue-blind)
#979083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d991f;
/* rgb */ color: rgb(141, 153, 31);
/* oklch */ color: oklch(65.2% 0.138 115.4);
Tailwind
colors: {
  custom: {
    50: '#b2b666',
    500: '#8d991f',
    950: '#000000',
  },
}
SCSS
$custom: #8d991f;
$custom-light: #b2b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8d991f",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 65.902,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65181,
    "c": 0.13825,
    "h": 115.4
  },
  "luminance": 0.28544
}

Semantic roles & 50–950 ramp

primary
#8D991F
secondary
#5E54C0
accent
#3FE94F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D991F

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

Preview Lab → · Contrast checker → · Palette generator →

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