#8C9727#8C9727

#8C9727 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.7% C 0.132 H 115.1°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8C9727
RGBrgb(140, 151, 39)
HSLhsl(66, 59%, 37%)
HSVhsv(66, 74%, 59%)
CMYKcmyk(7.3%, 0%, 74.2%, 40.8%)
CIE-LABlab(59.76, -18.40, 53.99)
CIE-LCHlch(59.76, 57.04, 108.82°)
OKLaboklab(64.68% -0.0559 0.1195)
OKLCHoklch(64.68% 0.132 115.1)
XYZxyz(22.2486, 27.8555, 6.1237)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C9727 #322797
analogous
#976A27 #8C9727 #549727
triadic
#8C9727 #278C97 #97278C
tetradic
#8C9727 #27976A #322797 #972754
square
#8C9727 #27976A #322797 #972754
split-complementary
#8C9727 #275497 #6A2797
monochromatic
#32360E #5F661A #8C9727 #B9C834 #CBD662

Accessibility & contrast

On white

3.20
#8C9727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#8C9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C9727
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C9727#FFFFFF#000000##000000
##8C97271.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#A19130
Tritanopia (blue-blind)
#958E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8c9727;
/* rgb */ color: rgb(140, 151, 39);
/* oklch */ color: oklch(64.7% 0.132 115.1);
Tailwind
colors: {
  custom: {
    50: '#b1b56a',
    500: '#8c9727',
    950: '#000000',
  },
}
SCSS
$custom: #8c9727;
$custom-light: #b1b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#8c9727",
  "rgb": {
    "r": 140,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 65.893,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64678,
    "c": 0.13192,
    "h": 115.1
  },
  "luminance": 0.27855
}

Semantic roles & 50–950 ramp

primary
#8C9727
secondary
#675EBC
accent
#46E255
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8C9727

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

Preview Lab → · Contrast checker → · Palette generator →

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