#8E8F17#8E8F17

#8E8F17 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.131 H 110.2°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8E8F17
RGBrgb(142, 143, 23)
HSLhsl(61, 72%, 33%)
HSVhsv(61, 84%, 56%)
CMYKcmyk(0.7%, 0%, 83.9%, 43.9%)
CIE-LABlab(57.52, -13.98, 57.04)
CIE-LCHlch(57.52, 58.73, 103.77°)
OKLaboklab(62.9% -0.0451 0.123)
OKLCHoklch(62.9% 0.131 110.2)
XYZxyz(21.1333, 25.4582, 4.6111)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8F17 #18178F
analogous
#8F5417 #8E8F17 #528F17
triadic
#8E8F17 #178E8F #8F178E
tetradic
#8E8F17 #178F54 #18178F #8F1752
square
#8E8F17 #178F54 #18178F #8F1752
split-complementary
#8E8F17 #17528F #54178F
monochromatic
#252606 #5A5A0F #8E8F17 #C2C41F #DFE040

Accessibility & contrast

On white

3.45
#8E8F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8E8F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8F17
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8F17#FFFFFF#000000##000000
##8E8F171.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8C23
Tritanopia (blue-blind)
#99857A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8e8f17;
/* rgb */ color: rgb(142, 143, 23);
/* oklch */ color: oklch(62.9% 0.131 110.2);
Tailwind
colors: {
  custom: {
    50: '#b3af62',
    500: '#8e8f17',
    950: '#000000',
  },
}
SCSS
$custom: #8e8f17;
$custom-light: #b3af62;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8f17",
  "rgb": {
    "r": 142,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 60.5,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.629,
    "c": 0.13097,
    "h": 110.2
  },
  "luminance": 0.25458
}

Semantic roles & 50–950 ramp

primary
#8E8F17
secondary
#4241C1
accent
#39EF3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8F17

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

Preview Lab → · Contrast checker → · Palette generator →

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