#8F9E17#8F9E17

#8F9E17 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.5% C 0.146 H 116.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8F9E17
RGBrgb(143, 158, 23)
HSLhsl(67, 75%, 35%)
HSVhsv(67, 85%, 62%)
CMYKcmyk(9.5%, 0%, 85.4%, 38%)
CIE-LABlab(61.96, -21.28, 60.84)
CIE-LCHlch(61.96, 64.45, 109.28°)
OKLaboklab(66.48% -0.0653 0.1311)
OKLCHoklch(66.48% 0.146 116.5)
XYZxyz(23.7099, 30.3556, 5.4206)
Luminance0.3035 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E17 #26179E
analogous
#9E6A17 #8F9E17 #4B9E17
triadic
#8F9E17 #178F9E #9E178F
tetradic
#8F9E17 #179E6A #26179E #9E174B
square
#8F9E17 #179E6A #26179E #9E174B
split-complementary
#8F9E17 #174B9E #6A179E
monochromatic
#2E3307 #5F690F #8F9E17 #BFD31F #D4E54B

Accessibility & contrast

On white

2.97
#8F9E17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8F9E17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9E17
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9E17#FFFFFF#000000##000000
##8F9E171.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A89726
Tritanopia (blue-blind)
#999486
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e17;
/* rgb */ color: rgb(143, 158, 23);
/* oklch */ color: oklch(66.5% 0.146 116.5);
Tailwind
colors: {
  custom: {
    50: '#b4ba64',
    500: '#8f9e17',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e17;
$custom-light: #b4ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e17",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 23
  },
  "hsl": {
    "h": 66.667,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.66481,
    "c": 0.14649,
    "h": 116.5
  },
  "luminance": 0.30355
}

Semantic roles & 50–950 ramp

primary
#8F9E17
secondary
#584AC6
accent
#37F14B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9E17

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

Preview Lab → · Contrast checker → · Palette generator →

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