#8D9727#8D9727

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

Color values

HEX#8D9727
RGBrgb(141, 151, 39)
HSLhsl(65, 59%, 37%)
HSVhsv(65, 74%, 59%)
CMYKcmyk(6.6%, 0%, 74.2%, 40.8%)
CIE-LABlab(59.84, -17.96, 54.09)
CIE-LCHlch(59.84, 57.00, 108.36°)
OKLaboklab(64.76% -0.0548 0.1197)
OKLCHoklch(64.76% 0.132 114.6)
XYZxyz(22.4180, 27.9428, 6.1316)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9727 #312797
analogous
#976927 #8D9727 #559727
triadic
#8D9727 #278D97 #97278D
tetradic
#8D9727 #279769 #312797 #972755
square
#8D9727 #279769 #312797 #972755
split-complementary
#8D9727 #275597 #692797
monochromatic
#32360E #60661A #8D9727 #BAC834 #CCD662

Accessibility & contrast

On white

3.19
#8D9727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#8D9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9727
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9727#FFFFFF#000000##000000
##8D97271.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#A29130
Tritanopia (blue-blind)
#968E82
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8d9727;
/* rgb */ color: rgb(141, 151, 39);
/* oklch */ color: oklch(64.8% 0.132 114.6);
Tailwind
colors: {
  custom: {
    50: '#b1b56a',
    500: '#8d9727',
    950: '#000000',
  },
}
SCSS
$custom: #8d9727;
$custom-light: #b1b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9727",
  "rgb": {
    "r": 141,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 65.357,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64761,
    "c": 0.1316,
    "h": 114.6
  },
  "luminance": 0.27942
}

Semantic roles & 50–950 ramp

primary
#8D9727
secondary
#665EBC
accent
#46E254
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9727

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

Preview Lab → · Contrast checker → · Palette generator →

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