#8C9916#8C9916

#8C9916 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#8C9916
RGBrgb(140, 153, 22)
HSLhsl(66, 75%, 34%)
HSVhsv(66, 86%, 60%)
CMYKcmyk(8.5%, 0%, 85.6%, 40%)
CIE-LABlab(60.26, -20.10, 59.55)
CIE-LCHlch(60.26, 62.85, 108.65°)
OKLaboklab(65.06% -0.0619 0.1283)
OKLCHoklch(65.06% 0.142 115.8)
XYZxyz(22.3519, 28.4162, 5.0663)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C9916 #231699
analogous
#996516 #8C9916 #4B9916
triadic
#8C9916 #168C99 #99168C
tetradic
#8C9916 #169965 #231699 #99164B
square
#8C9916 #169965 #231699 #99164B
split-complementary
#8C9916 #164B99 #651699
monochromatic
#2A2E07 #5B630E #8C9916 #BDCF1E #D4E445

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C9916#FFFFFF#000000##000000
##8C99161.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: #8c9916;
/* rgb */ color: rgb(140, 153, 22);
/* oklch */ color: oklch(65.1% 0.142 115.8);
Tailwind
colors: {
  custom: {
    50: '#b1b663',
    500: '#8c9916',
    950: '#000000',
  },
}
SCSS
$custom: #8c9916;
$custom-light: #b1b663;
$custom-dark: #000000;
JSON
{
  "hex": "#8c9916",
  "rgb": {
    "r": 140,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 65.954,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.65058,
    "c": 0.14247,
    "h": 115.8
  },
  "luminance": 0.28416
}

Semantic roles & 50–950 ramp

primary
#8C9916
secondary
#5246C5
accent
#36F149
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8C9916

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

Preview Lab → · Contrast checker → · Palette generator →

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