#8C8D17#8C8D17

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

Color values

HEX#8C8D17
RGBrgb(140, 141, 23)
HSLhsl(61, 72%, 32%)
HSVhsv(61, 84%, 55%)
CMYKcmyk(0.7%, 0%, 83.7%, 44.7%)
CIE-LABlab(56.77, -13.83, 56.34)
CIE-LCHlch(56.77, 58.01, 103.79°)
OKLaboklab(62.26% -0.0446 0.1215)
OKLCHoklch(62.26% 0.129 110.2)
XYZxyz(20.4955, 24.6877, 4.4960)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8D17 #18178D
analogous
#8D5317 #8C8D17 #518D17
triadic
#8C8D17 #178C8D #8D178C
tetradic
#8C8D17 #178D53 #18178D #8D1751
square
#8C8D17 #178D53 #18178D #8D1751
split-complementary
#8C8D17 #17518D #53178D
monochromatic
#242406 #58580E #8C8D17 #C0C220 #DEE03F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C8D17#FFFFFF#000000##000000
##8C8D171.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)
#9A8A23
Tritanopia (blue-blind)
#978378
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8c8d17;
/* rgb */ color: rgb(140, 141, 23);
/* oklch */ color: oklch(62.3% 0.129 110.2);
Tailwind
colors: {
  custom: {
    50: '#b1ae61',
    500: '#8c8d17',
    950: '#000000',
  },
}
SCSS
$custom: #8c8d17;
$custom-light: #b1ae61;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8d17",
  "rgb": {
    "r": 140,
    "g": 141,
    "b": 23
  },
  "hsl": {
    "h": 60.508,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.62259,
    "c": 0.12944,
    "h": 110.2
  },
  "luminance": 0.24687
}

Semantic roles & 50–950 ramp

primary
#8C8D17
secondary
#4140C0
accent
#39EF3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8D17

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

Preview Lab → · Contrast checker → · Palette generator →

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