#8E9928#8E9928

#8E9928 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.3% C 0.133 H 115.0°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8E9928
RGBrgb(142, 153, 40)
HSLhsl(66, 59%, 38%)
HSVhsv(66, 74%, 60%)
CMYKcmyk(7.2%, 0%, 73.9%, 40%)
CIE-LABlab(60.50, -18.50, 54.40)
CIE-LCHlch(60.50, 57.46, 108.78°)
OKLaboklab(65.32% -0.0562 0.1205)
OKLCHoklch(65.32% 0.133 115)
XYZxyz(22.9302, 28.6868, 6.3363)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9928 #332899
analogous
#996C28 #8E9928 #559928
triadic
#8E9928 #288E99 #99288E
tetradic
#8E9928 #28996C #332899 #992855
square
#8E9928 #28996C #332899 #992855
split-complementary
#8E9928 #285599 #6C2899
monochromatic
#34380F #61681B #8E9928 #BBCA35 #CCD765

Accessibility & contrast

On white

3.12
#8E9928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8E9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9928
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9928#FFFFFF#000000##000000
##8E99281.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49112
Deuteranopia (green-blind)
#A39331
Tritanopia (blue-blind)
#979083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8e9928;
/* rgb */ color: rgb(142, 153, 40);
/* oklch */ color: oklch(65.3% 0.133 115.0);
Tailwind
colors: {
  custom: {
    50: '#b2b66a',
    500: '#8e9928',
    950: '#000000',
  },
}
SCSS
$custom: #8e9928;
$custom-light: #b2b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9928",
  "rgb": {
    "r": 142,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 65.841,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65318,
    "c": 0.13294,
    "h": 115
  },
  "luminance": 0.28686
}

Semantic roles & 50–950 ramp

primary
#8E9928
secondary
#6960BD
accent
#46E255
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8E9928

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

Preview Lab → · Contrast checker → · Palette generator →

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