#8F9D17#8F9D17

#8F9D17 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.2% C 0.145 H 116.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8F9D17
RGBrgb(143, 157, 23)
HSLhsl(66, 74%, 35%)
HSVhsv(66, 85%, 62%)
CMYKcmyk(8.9%, 0%, 85.4%, 38.4%)
CIE-LABlab(61.67, -20.78, 60.59)
CIE-LCHlch(61.67, 64.06, 108.93°)
OKLaboklab(66.25% -0.0639 0.1306)
OKLCHoklch(66.25% 0.145 116.1)
XYZxyz(23.5400, 30.0158, 5.3640)
Luminance0.3001 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D17 #25179D
analogous
#9D6817 #8F9D17 #4C9D17
triadic
#8F9D17 #178F9D #9D178F
tetradic
#8F9D17 #179D68 #25179D #9D174C
square
#8F9D17 #179D68 #25179D #9D174C
split-complementary
#8F9D17 #174C9D #68179D
monochromatic
#2E3207 #5E680F #8F9D17 #C0D21F #D4E44A

Accessibility & contrast

On white

3.00
#8F9D17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8F9D17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D17
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D17#FFFFFF#000000##000000
##8F9D171.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A89626
Tritanopia (blue-blind)
#999386
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d17;
/* rgb */ color: rgb(143, 157, 23);
/* oklch */ color: oklch(66.2% 0.145 116.1);
Tailwind
colors: {
  custom: {
    50: '#b4b964',
    500: '#8f9d17',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d17;
$custom-light: #b4b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d17",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 66.269,
    "s": 74.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.66246,
    "c": 0.14539,
    "h": 116.1
  },
  "luminance": 0.30015
}

Semantic roles & 50–950 ramp

primary
#8F9D17
secondary
#574AC6
accent
#37F14A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9D17

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

Preview Lab → · Contrast checker → · Palette generator →

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