#8C9917#8C9917

#8C9917 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.1% C 0.142 H 115.8°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8C9917
RGBrgb(140, 153, 23)
HSLhsl(66, 74%, 35%)
HSVhsv(66, 85%, 60%)
CMYKcmyk(8.5%, 0%, 85%, 40%)
CIE-LABlab(60.27, -20.07, 59.31)
CIE-LCHlch(60.27, 62.62, 108.69°)
OKLaboklab(65.06% -0.0618 0.128)
OKLCHoklch(65.06% 0.142 115.8)
XYZxyz(22.3618, 28.4201, 5.1181)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C9917 #241799
analogous
#996517 #8C9917 #4B9917
triadic
#8C9917 #178C99 #99178C
tetradic
#8C9917 #179965 #241799 #99174B
square
#8C9917 #179965 #241799 #99174B
split-complementary
#8C9917 #174B99 #651799
monochromatic
#2B2F07 #5B640F #8C9917 #BDCE1F #D4E347

Accessibility & contrast

On white

3.14
#8C9917 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#8C9917 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C9917
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C9917#FFFFFF#000000##000000
##8C99171.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#A39225
Tritanopia (blue-blind)
#969082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8c9917;
/* rgb */ color: rgb(140, 153, 23);
/* oklch */ color: oklch(65.1% 0.142 115.8);
Tailwind
colors: {
  custom: {
    50: '#b1b663',
    500: '#8c9917',
    950: '#000000',
  },
}
SCSS
$custom: #8c9917;
$custom-light: #b1b663;
$custom-dark: #000000;
JSON
{
  "hex": "#8c9917",
  "rgb": {
    "r": 140,
    "g": 153,
    "b": 23
  },
  "hsl": {
    "h": 66,
    "s": 73.864,
    "l": 34.51
  },
  "oklch": {
    "l": 0.65062,
    "c": 0.1421,
    "h": 115.8
  },
  "luminance": 0.2842
}

Semantic roles & 50–950 ramp

primary
#8C9917
secondary
#5447C5
accent
#37F14A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8C9917

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

Preview Lab → · Contrast checker → · Palette generator →

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