#8B9D17#8B9D17

#8B9D17 is a light, vivid yellow. Relative luminance 0.297; OKLCH L 65.9% C 0.147 H 117.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8B9D17
RGBrgb(139, 157, 23)
HSLhsl(68, 74%, 35%)
HSVhsv(68, 85%, 62%)
CMYKcmyk(11.5%, 0%, 85.4%, 38.4%)
CIE-LABlab(61.36, -22.52, 60.21)
CIE-LCHlch(61.36, 64.29, 110.51°)
OKLaboklab(65.93% -0.0685 0.13)
OKLCHoklch(65.93% 0.147 117.8)
XYZxyz(22.8597, 29.6650, 5.3321)
Luminance0.2967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9D17 #29179D
analogous
#9D6C17 #8B9D17 #489D17
triadic
#8B9D17 #178B9D #9D178B
tetradic
#8B9D17 #179D6C #29179D #9D1748
square
#8B9D17 #179D6C #29179D #9D1748
split-complementary
#8B9D17 #17489D #6C179D
monochromatic
#2C3207 #5C680F #8B9D17 #BAD21F #D0E44A

Accessibility & contrast

On white

3.03
#8B9D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#8B9D17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9D17
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9D17#FFFFFF#000000##000000
##8B9D171.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A69526
Tritanopia (blue-blind)
#949486
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8b9d17;
/* rgb */ color: rgb(139, 157, 23);
/* oklch */ color: oklch(65.9% 0.147 117.8);
Tailwind
colors: {
  custom: {
    50: '#b1b964',
    500: '#8b9d17',
    950: '#000000',
  },
}
SCSS
$custom: #8b9d17;
$custom-light: #b1b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9d17",
  "rgb": {
    "r": 139,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 68.06,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.65926,
    "c": 0.14689,
    "h": 117.8
  },
  "luminance": 0.29665
}

Semantic roles & 50–950 ramp

primary
#8B9D17
secondary
#5B4AC6
accent
#37F150
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9D17

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

Preview Lab → · Contrast checker → · Palette generator →

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