#8F9F17#8F9F17

#8F9F17 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.7% C 0.148 H 116.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8F9F17
RGBrgb(143, 159, 23)
HSLhsl(67, 75%, 36%)
HSVhsv(67, 86%, 62%)
CMYKcmyk(10.1%, 0%, 85.5%, 37.6%)
CIE-LABlab(62.25, -21.79, 61.09)
CIE-LCHlch(62.25, 64.85, 109.63°)
OKLaboklab(66.72% -0.0667 0.1317)
OKLCHoklch(66.72% 0.148 116.9)
XYZxyz(23.8812, 30.6981, 5.4777)
Luminance0.3070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F17 #27179F
analogous
#9F6B17 #8F9F17 #4B9F17
triadic
#8F9F17 #178F9F #9F178F
tetradic
#8F9F17 #179F6B #27179F #9F174B
square
#8F9F17 #179F6B #27179F #9F174B
split-complementary
#8F9F17 #174B9F #6B179F
monochromatic
#2F3408 #5F6A0F #8F9F17 #BFD41F #D3E54B

Accessibility & contrast

On white

2.94
#8F9F17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#8F9F17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F17
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F17#FFFFFF#000000##000000
##8F9F171.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#999587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9f17;
/* rgb */ color: rgb(143, 159, 23);
/* oklch */ color: oklch(66.7% 0.148 116.9);
Tailwind
colors: {
  custom: {
    50: '#b4bb64',
    500: '#8f9f17',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f17;
$custom-light: #b4bb64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f17",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 23
  },
  "hsl": {
    "h": 67.059,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.66716,
    "c": 0.14758,
    "h": 116.9
  },
  "luminance": 0.30698
}

Semantic roles & 50–950 ramp

primary
#8F9F17
secondary
#5A4BC7
accent
#36F14C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9F17

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

Preview Lab → · Contrast checker → · Palette generator →

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