#8C8E17#8C8E17

#8C8E17 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.130 H 110.7°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8C8E17
RGBrgb(140, 142, 23)
HSLhsl(61, 72%, 32%)
HSVhsv(61, 84%, 56%)
CMYKcmyk(1.4%, 0%, 83.8%, 44.3%)
CIE-LABlab(57.06, -14.36, 56.59)
CIE-LCHlch(57.06, 58.38, 104.24°)
OKLaboklab(62.49% -0.0461 0.1221)
OKLCHoklch(62.49% 0.13 110.7)
XYZxyz(20.6437, 24.9839, 4.5454)
Luminance0.2498 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E17 #19178E
analogous
#8E5417 #8C8E17 #518E17
triadic
#8C8E17 #178C8E #8E178C
tetradic
#8C8E17 #178E54 #19178E #8E1751
square
#8C8E17 #178E54 #19178E #8E1751
split-complementary
#8C8E17 #17518E #54178E
monochromatic
#242506 #58590E #8C8E17 #C0C320 #DDE03F

Accessibility & contrast

On white

3.50
#8C8E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8C8E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8E17
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8E17#FFFFFF#000000##000000
##8C8E171.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8A23
Tritanopia (blue-blind)
#968479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8e17;
/* rgb */ color: rgb(140, 142, 23);
/* oklch */ color: oklch(62.5% 0.130 110.7);
Tailwind
colors: {
  custom: {
    50: '#b1ae62',
    500: '#8c8e17',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e17;
$custom-light: #b1ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e17",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 61.008,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.62491,
    "c": 0.13046,
    "h": 110.7
  },
  "luminance": 0.24983
}

Semantic roles & 50–950 ramp

primary
#8C8E17
secondary
#4340C0
accent
#39EF3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8E17

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

Preview Lab → · Contrast checker → · Palette generator →

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