#8B991B#8B991B

#8B991B is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.0% C 0.141 H 116.3°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8B991B
RGBrgb(139, 153, 27)
HSLhsl(67, 70%, 35%)
HSVhsv(67, 82%, 60%)
CMYKcmyk(9.2%, 0%, 82.4%, 40%)
CIE-LABlab(60.20, -20.37, 58.19)
CIE-LCHlch(60.20, 61.65, 109.30°)
OKLaboklab(65% -0.0623 0.1263)
OKLCHoklch(65% 0.141 116.3)
XYZxyz(22.2371, 28.3509, 5.3375)
Luminance0.2835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B991B #291B99
analogous
#99681B #8B991B #4C991B
triadic
#8B991B #1B8B99 #991B8B
tetradic
#8B991B #1B9968 #291B99 #991B4C
square
#8B991B #1B9968 #291B99 #991B4C
split-complementary
#8B991B #1B4C99 #681B99
monochromatic
#2C3109 #5C6512 #8B991B #BACD24 #D0E04F

Accessibility & contrast

On white

3.15
#8B991B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8B991B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B991B
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B991B#FFFFFF#000000##000000
##8B991B1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b991b;
/* rgb */ color: rgb(139, 153, 27);
/* oklch */ color: oklch(65.0% 0.141 116.3);
Tailwind
colors: {
  custom: {
    50: '#b1b665',
    500: '#8b991b',
    950: '#000000',
  },
}
SCSS
$custom: #8b991b;
$custom-light: #b1b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8b991b",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 27
  },
  "hsl": {
    "h": 66.667,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.64998,
    "c": 0.14082,
    "h": 116.3
  },
  "luminance": 0.28351
}

Semantic roles & 50–950 ramp

primary
#8B991B
secondary
#5B4EC2
accent
#3BED4F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B991B

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

Preview Lab → · Contrast checker → · Palette generator →

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