#8D991C#8D991C

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

Color values

HEX#8D991C
RGBrgb(141, 153, 28)
HSLhsl(66, 69%, 35%)
HSVhsv(66, 82%, 60%)
CMYKcmyk(7.8%, 0%, 81.7%, 40%)
CIE-LABlab(60.36, -19.46, 58.11)
CIE-LCHlch(60.36, 61.28, 108.51°)
OKLaboklab(65.17% -0.0598 0.1262)
OKLCHoklch(65.17% 0.14 115.4)
XYZxyz(22.5860, 28.5294, 5.4153)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D991C #281C99
analogous
#99661C #8D991C #4E991C
triadic
#8D991C #1C8D99 #991C8D
tetradic
#8D991C #1C9966 #281C99 #991C4E
square
#8D991C #1C9966 #281C99 #991C4E
split-complementary
#8D991C #1C4E99 #661C99
monochromatic
#2E3209 #5D6513 #8D991C #BDCD25 #D1DF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D991C#FFFFFF#000000##000000
##8D991C1.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)
#979082
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8d991c;
/* rgb */ color: rgb(141, 153, 28);
/* oklch */ color: oklch(65.2% 0.140 115.4);
Tailwind
colors: {
  custom: {
    50: '#b2b665',
    500: '#8d991c',
    950: '#000000',
  },
}
SCSS
$custom: #8d991c;
$custom-light: #b2b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8d991c",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 65.76,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65166,
    "c": 0.13967,
    "h": 115.4
  },
  "luminance": 0.28529
}

Semantic roles & 50–950 ramp

primary
#8D991C
secondary
#5A4FC2
accent
#3CEC4D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D991C

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

Preview Lab → · Contrast checker → · Palette generator →

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