#8B9617#8B9617

#8B9617 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.3% C 0.139 H 115.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#8B9617
RGBrgb(139, 150, 23)
HSLhsl(65, 73%, 34%)
HSVhsv(65, 85%, 59%)
CMYKcmyk(7.3%, 0%, 84.7%, 41.2%)
CIE-LABlab(59.31, -18.97, 58.47)
CIE-LCHlch(59.31, 61.47, 107.98°)
OKLaboklab(64.27% -0.0587 0.1262)
OKLCHoklch(64.27% 0.139 115)
XYZxyz(21.7091, 27.3639, 4.9486)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9617 #221796
analogous
#966217 #8B9617 #4C9617
triadic
#8B9617 #178B96 #96178B
tetradic
#8B9617 #179662 #221796 #96174C
square
#8B9617 #179662 #221796 #96174C
split-complementary
#8B9617 #174C96 #621796
monochromatic
#292C07 #5A610F #8B9617 #BCCB1F #D5E245

Accessibility & contrast

On white

3.24
#8B9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#8B9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9617
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9617#FFFFFF#000000##000000
##8B96171.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A19025
Tritanopia (blue-blind)
#958D80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8b9617;
/* rgb */ color: rgb(139, 150, 23);
/* oklch */ color: oklch(64.3% 0.139 115.0);
Tailwind
colors: {
  custom: {
    50: '#b1b463',
    500: '#8b9617',
    950: '#000000',
  },
}
SCSS
$custom: #8b9617;
$custom-light: #b1b463;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9617",
  "rgb": {
    "r": 139,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 65.197,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64274,
    "c": 0.13918,
    "h": 115
  },
  "luminance": 0.27364
}

Semantic roles & 50–950 ramp

primary
#8B9617
secondary
#5045C3
accent
#38F048
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9617

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

Preview Lab → · Contrast checker → · Palette generator →

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