#8C8D16#8C8D16

#8C8D16 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.3% C 0.130 H 110.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#8C8D16
RGBrgb(140, 141, 22)
HSLhsl(61, 73%, 32%)
HSVhsv(61, 84%, 55%)
CMYKcmyk(0.7%, 0%, 84.4%, 44.7%)
CIE-LABlab(56.77, -13.86, 56.60)
CIE-LCHlch(56.77, 58.27, 103.76°)
OKLaboklab(62.26% -0.0448 0.1219)
OKLCHoklch(62.26% 0.13 110.2)
XYZxyz(20.4857, 24.6837, 4.4442)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D16 #17168D
analogous
#8D5316 #8C8D16 #518D16
triadic
#8C8D16 #168C8D #8D168C
tetradic
#8C8D16 #168D53 #17168D #8D1651
square
#8C8D16 #168D53 #17168D #8D1651
split-complementary
#8C8D16 #16518D #53168D
monochromatic
#232305 #57580E #8C8D16 #C1C21E #DFE13D

Accessibility & contrast

On white

3.54
#8C8D16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#8C8D16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8D16
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8D16#FFFFFF#000000##000000
##8C8D161.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9A8A22
Tritanopia (blue-blind)
#978378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8d16;
/* rgb */ color: rgb(140, 141, 22);
/* oklch */ color: oklch(62.3% 0.130 110.2);
Tailwind
colors: {
  custom: {
    50: '#b1ae61',
    500: '#8c8d16',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d16;
$custom-light: #b1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d16",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 22
  },
  "hsl": {
    "h": 60.504,
    "s": 73.006,
    "l": 31.961
  },
  "oklch": {
    "l": 0.62255,
    "c": 0.12985,
    "h": 110.2
  },
  "luminance": 0.24683
}

Semantic roles & 50–950 ramp

primary
#8C8D16
secondary
#3F3EC1
accent
#38F03A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8C8D16

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

Preview Lab → · Contrast checker → · Palette generator →

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