#8B991F#8B991F

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

Color values

HEX#8B991F
RGBrgb(139, 153, 31)
HSLhsl(67, 66%, 36%)
HSVhsv(67, 80%, 60%)
CMYKcmyk(9.2%, 0%, 79.7%, 40%)
CIE-LABlab(60.22, -20.22, 57.05)
CIE-LCHlch(60.22, 60.53, 109.52°)
OKLaboklab(65.02% -0.0616 0.1246)
OKLCHoklch(65.02% 0.139 116.3)
XYZxyz(22.2866, 28.3707, 5.5981)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B991F #2D1F99
analogous
#996A1F #8B991F #4E991F
triadic
#8B991F #1F8B99 #991F8B
tetradic
#8B991F #1F996A #2D1F99 #991F4E
square
#8B991F #1F996A #2D1F99 #991F4E
split-complementary
#8B991F #1F4E99 #6A1F99
monochromatic
#2F330A #5D6615 #8B991F #B9CC29 #CDDD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8B991F#FFFFFF#000000##000000
##8B991F1.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)
#A3922B
Tritanopia (blue-blind)
#949083
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8b991f;
/* rgb */ color: rgb(139, 153, 31);
/* oklch */ color: oklch(65.0% 0.139 116.3);
Tailwind
colors: {
  custom: {
    50: '#b0b666',
    500: '#8b991f',
    950: '#000000',
  },
}
SCSS
$custom: #8b991f;
$custom-light: #b0b666;
$custom-dark: #000000;
JSON
{
  "hex": "#8b991f",
  "rgb": {
    "r": 139,
    "g": 153,
    "b": 31
  },
  "hsl": {
    "h": 66.885,
    "s": 66.304,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65018,
    "c": 0.13896,
    "h": 116.3
  },
  "luminance": 0.2837
}

Semantic roles & 50–950 ramp

primary
#8B991F
secondary
#6054C0
accent
#3FE952
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B991F

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

Preview Lab → · Contrast checker → · Palette generator →

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