#8B991C#8B991C

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

Color values

HEX#8B991C
RGBrgb(139, 153, 28)
HSLhsl(67, 69%, 35%)
HSVhsv(67, 82%, 60%)
CMYKcmyk(9.2%, 0%, 81.7%, 40%)
CIE-LABlab(60.21, -20.34, 57.92)
CIE-LCHlch(60.21, 61.38, 109.35°)
OKLaboklab(65% -0.0621 0.1259)
OKLCHoklch(65% 0.14 116.3)
XYZxyz(22.2489, 28.3556, 5.3995)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B991C #2A1C99
analogous
#99681C #8B991C #4C991C
triadic
#8B991C #1C8B99 #991C8B
tetradic
#8B991C #1C9968 #2A1C99 #991C4C
square
#8B991C #1C9968 #2A1C99 #991C4C
split-complementary
#8B991C #1C4C99 #681C99
monochromatic
#2D3209 #5C6513 #8B991C #BACD25 #CFDF50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B991C#FFFFFF#000000##000000
##8B991C1.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)
#A39229
Tritanopia (blue-blind)
#949082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8b991c;
/* rgb */ color: rgb(139, 153, 28);
/* oklch */ color: oklch(65.0% 0.140 116.3);
Tailwind
colors: {
  custom: {
    50: '#b0b665',
    500: '#8b991c',
    950: '#000000',
  },
}
SCSS
$custom: #8b991c;
$custom-light: #b0b665;
$custom-dark: #000000;
JSON
{
  "hex": "#8b991c",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 28
  },
  "hsl": {
    "h": 66.72,
    "s": 69.061,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65003,
    "c": 0.14037,
    "h": 116.3
  },
  "luminance": 0.28355
}

Semantic roles & 50–950 ramp

primary
#8B991C
secondary
#5C4FC2
accent
#3CEC50
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B991C

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

Preview Lab → · Contrast checker → · Palette generator →

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