#8C9918#8C9918

#8C9918 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#8C9918
RGBrgb(140, 153, 24)
HSLhsl(66, 73%, 35%)
HSVhsv(66, 84%, 60%)
CMYKcmyk(8.5%, 0%, 84.3%, 40%)
CIE-LABlab(60.27, -20.03, 59.07)
CIE-LCHlch(60.27, 62.37, 108.74°)
OKLaboklab(65.07% -0.0616 0.1276)
OKLCHoklch(65.07% 0.142 115.8)
XYZxyz(22.3720, 28.4242, 5.1719)
Luminance0.2842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C9918 #251899
analogous
#996618 #8C9918 #4B9918
triadic
#8C9918 #188C99 #99188C
tetradic
#8C9918 #189966 #251899 #99184B
square
#8C9918 #189966 #251899 #99184B
split-complementary
#8C9918 #184B99 #661899
monochromatic
#2B2F07 #5C6410 #8C9918 #BCCE20 #D3E249

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C9918#FFFFFF#000000##000000
##8C99181.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)
#A39226
Tritanopia (blue-blind)
#969082
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8c9918;
/* rgb */ color: rgb(140, 153, 24);
/* oklch */ color: oklch(65.1% 0.142 115.8);
Tailwind
colors: {
  custom: {
    50: '#b1b664',
    500: '#8c9918',
    950: '#000000',
  },
}
SCSS
$custom: #8c9918;
$custom-light: #b1b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8c9918",
  "rgb": {
    "r": 140,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 66.047,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.65066,
    "c": 0.14171,
    "h": 115.8
  },
  "luminance": 0.28424
}

Semantic roles & 50–950 ramp

primary
#8C9918
secondary
#5549C4
accent
#38F04B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8C9918

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

Preview Lab → · Contrast checker → · Palette generator →

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