#8D991B#8D991B

#8D991B 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.70:1 contrast (WCAG AA passes).

Color values

HEX#8D991B
RGBrgb(141, 153, 27)
HSLhsl(66, 70%, 35%)
HSVhsv(66, 82%, 60%)
CMYKcmyk(7.8%, 0%, 82.4%, 40%)
CIE-LABlab(60.36, -19.49, 58.39)
CIE-LCHlch(60.36, 61.55, 108.46°)
OKLaboklab(65.16% -0.06 0.1266)
OKLCHoklch(65.16% 0.14 115.4)
XYZxyz(22.5742, 28.5247, 5.3533)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D991B #271B99
analogous
#99661B #8D991B #4E991B
triadic
#8D991B #1B8D99 #991B8D
tetradic
#8D991B #1B9966 #271B99 #991B4E
square
#8D991B #1B9966 #271B99 #991B4E
split-complementary
#8D991B #1B4E99 #661B99
monochromatic
#2D3109 #5D6512 #8D991B #BDCD24 #D2E04F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D991B#FFFFFF#000000##000000
##8D991B1.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)
#A49228
Tritanopia (blue-blind)
#979082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8d991b;
/* rgb */ color: rgb(141, 153, 27);
/* oklch */ color: oklch(65.2% 0.140 115.4);
Tailwind
colors: {
  custom: {
    50: '#b2b665',
    500: '#8d991b',
    950: '#000000',
  },
}
SCSS
$custom: #8d991b;
$custom-light: #b2b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8d991b",
  "rgb": {
    "r": 141,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 65.714,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65161,
    "c": 0.14011,
    "h": 115.4
  },
  "luminance": 0.28524
}

Semantic roles & 50–950 ramp

primary
#8D991B
secondary
#594EC2
accent
#3BED4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8D991B

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

Preview Lab → · Contrast checker → · Palette generator →

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