#8B9E17#8B9E17

#8B9E17 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.2% C 0.148 H 118.2°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8B9E17
RGBrgb(139, 158, 23)
HSLhsl(68, 75%, 35%)
HSVhsv(68, 85%, 62%)
CMYKcmyk(12%, 0%, 85.4%, 38%)
CIE-LABlab(61.66, -23.02, 60.46)
CIE-LCHlch(61.66, 64.70, 110.85°)
OKLaboklab(66.16% -0.0698 0.1305)
OKLCHoklch(66.16% 0.148 118.2)
XYZxyz(23.0296, 30.0048, 5.3887)
Luminance0.3000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9E17 #2A179E
analogous
#9E6D17 #8B9E17 #489E17
triadic
#8B9E17 #178B9E #9E178B
tetradic
#8B9E17 #179E6D #2A179E #9E1748
square
#8B9E17 #179E6D #2A179E #9E1748
split-complementary
#8B9E17 #17489E #6D179E
monochromatic
#2D3307 #5C690F #8B9E17 #BAD31F #CFE54B

Accessibility & contrast

On white

3.00
#8B9E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8B9E17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9E17
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9E17#FFFFFF#000000##000000
##8B9E171.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A79527
Tritanopia (blue-blind)
#949586
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8b9e17;
/* rgb */ color: rgb(139, 158, 23);
/* oklch */ color: oklch(66.2% 0.148 118.2);
Tailwind
colors: {
  custom: {
    50: '#b1ba64',
    500: '#8b9e17',
    950: '#000000',
  },
}
SCSS
$custom: #8b9e17;
$custom-light: #b1ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9e17",
  "rgb": {
    "r": 139,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 68.444,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66163,
    "c": 0.148,
    "h": 118.2
  },
  "luminance": 0.30005
}

Semantic roles & 50–950 ramp

primary
#8B9E17
secondary
#5C4AC6
accent
#37F151
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B9E17

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

Preview Lab → · Contrast checker → · Palette generator →

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