#8E9017#8E9017

#8E9017 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.1% C 0.132 H 110.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8E9017
RGBrgb(142, 144, 23)
HSLhsl(61, 72%, 33%)
HSVhsv(61, 84%, 56%)
CMYKcmyk(1.4%, 0%, 84%, 43.5%)
CIE-LABlab(57.81, -14.51, 57.29)
CIE-LCHlch(57.81, 59.10, 104.21°)
OKLaboklab(63.13% -0.0466 0.1235)
OKLCHoklch(63.13% 0.132 110.7)
XYZxyz(21.2840, 25.7598, 4.6614)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E9017 #191790
analogous
#905617 #8E9017 #519017
triadic
#8E9017 #178E90 #90178E
tetradic
#8E9017 #179056 #191790 #901751
square
#8E9017 #179056 #191790 #901751
split-complementary
#8E9017 #175190 #561790
monochromatic
#262606 #5A5B0F #8E9017 #C2C51F #DEE141

Accessibility & contrast

On white

3.41
#8E9017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8E9017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E9017
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E9017#FFFFFF#000000##000000
##8E90171.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9D8C23
Tritanopia (blue-blind)
#99867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8e9017;
/* rgb */ color: rgb(142, 144, 23);
/* oklch */ color: oklch(63.1% 0.132 110.7);
Tailwind
colors: {
  custom: {
    50: '#b3b062',
    500: '#8e9017',
    950: '#000000',
  },
}
SCSS
$custom: #8e9017;
$custom-light: #b3b062;
$custom-dark: #000000;
JSON
{
  "hex": "#8e9017",
  "rgb": {
    "r": 142,
    "g": 144,
    "b": 23
  },
  "hsl": {
    "h": 60.992,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.63131,
    "c": 0.13198,
    "h": 110.7
  },
  "luminance": 0.25759
}

Semantic roles & 50–950 ramp

primary
#8E9017
secondary
#4442C1
accent
#39EF3C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E9017

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

Preview Lab → · Contrast checker → · Palette generator →

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