#8E9617#8E9617

#8E9617 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.5% C 0.138 H 113.6°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8E9617
RGBrgb(142, 150, 23)
HSLhsl(64, 73%, 34%)
HSVhsv(64, 85%, 59%)
CMYKcmyk(5.3%, 0%, 84.7%, 41.2%)
CIE-LABlab(59.55, -17.64, 58.77)
CIE-LCHlch(59.55, 61.36, 106.71°)
OKLaboklab(64.53% -0.0552 0.1267)
OKLCHoklch(64.53% 0.138 113.6)
XYZxyz(22.2171, 27.6258, 4.9724)
Luminance0.2762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9617 #1F1796
analogous
#965F17 #8E9617 #4F9617
triadic
#8E9617 #178E96 #96178E
tetradic
#8E9617 #17965F #1F1796 #96174F
square
#8E9617 #17965F #1F1796 #96174F
split-complementary
#8E9617 #174F96 #5F1796
monochromatic
#2A2C07 #5C610F #8E9617 #C0CB1F #D9E245

Accessibility & contrast

On white

3.22
#8E9617 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#8E9617 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9617
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9617#FFFFFF#000000##000000
##8E96171.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#A29125
Tritanopia (blue-blind)
#988C80
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8e9617;
/* rgb */ color: rgb(142, 150, 23);
/* oklch */ color: oklch(64.5% 0.138 113.6);
Tailwind
colors: {
  custom: {
    50: '#b3b463',
    500: '#8e9617',
    950: '#000000',
  },
}
SCSS
$custom: #8e9617;
$custom-light: #b3b463;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9617",
  "rgb": {
    "r": 142,
    "g": 150,
    "b": 23
  },
  "hsl": {
    "h": 63.78,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.64526,
    "c": 0.13821,
    "h": 113.6
  },
  "luminance": 0.27625
}

Semantic roles & 50–950 ramp

primary
#8E9617
secondary
#4D45C3
accent
#38F043
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8E9617

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

Preview Lab → · Contrast checker → · Palette generator →

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