#8E9727#8E9727

#8E9727 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 64.8% C 0.131 H 114.1°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#8E9727
RGBrgb(142, 151, 39)
HSLhsl(65, 59%, 37%)
HSVhsv(65, 74%, 59%)
CMYKcmyk(6%, 0%, 74.2%, 40.8%)
CIE-LABlab(59.92, -17.52, 54.20)
CIE-LCHlch(59.92, 56.96, 107.91°)
OKLaboklab(64.85% -0.0536 0.1199)
OKLCHoklch(64.85% 0.131 114.1)
XYZxyz(22.5888, 28.0309, 6.1396)
Luminance0.2803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9727 #302797
analogous
#976827 #8E9727 #569727
triadic
#8E9727 #278E97 #97278E
tetradic
#8E9727 #279768 #302797 #972756
square
#8E9727 #279768 #302797 #972756
split-complementary
#8E9727 #275697 #682797
monochromatic
#33360E #60661A #8E9727 #BCC834 #CDD662

Accessibility & contrast

On white

3.18
#8E9727 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#8E9727 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9727
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9727#FFFFFF#000000##000000
##8E97271.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e9727;
/* rgb */ color: rgb(142, 151, 39);
/* oklch */ color: oklch(64.8% 0.131 114.1);
Tailwind
colors: {
  custom: {
    50: '#b2b56a',
    500: '#8e9727',
    950: '#000000',
  },
}
SCSS
$custom: #8e9727;
$custom-light: #b2b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9727",
  "rgb": {
    "r": 142,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 64.821,
    "s": 58.947,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64845,
    "c": 0.13129,
    "h": 114.1
  },
  "luminance": 0.2803
}

Semantic roles & 50–950 ramp

primary
#8E9727
secondary
#655EBC
accent
#46E252
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9727

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

Preview Lab → · Contrast checker → · Palette generator →

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