#8F9916#8F9916

#8F9916 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.3% C 0.141 H 114.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#8F9916
RGBrgb(143, 153, 22)
HSLhsl(65, 75%, 34%)
HSVhsv(65, 86%, 60%)
CMYKcmyk(6.5%, 0%, 85.6%, 40%)
CIE-LABlab(60.50, -18.77, 59.85)
CIE-LCHlch(60.50, 62.72, 107.41°)
OKLaboklab(65.31% -0.0584 0.1288)
OKLCHoklch(65.31% 0.141 114.4)
XYZxyz(22.8645, 28.6805, 5.0903)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9916 #201699
analogous
#996216 #8F9916 #4E9916
triadic
#8F9916 #168F99 #99168F
tetradic
#8F9916 #169962 #201699 #99164E
square
#8F9916 #169962 #201699 #99164E
split-complementary
#8F9916 #164E99 #621699
monochromatic
#2B2E07 #5D630E #8F9916 #C1CF1E #D8E445

Accessibility & contrast

On white

3.12
#8F9916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#8F9916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9916
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9916#FFFFFF#000000##000000
##8F99161.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A49325
Tritanopia (blue-blind)
#998F82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9916;
/* rgb */ color: rgb(143, 153, 22);
/* oklch */ color: oklch(65.3% 0.141 114.4);
Tailwind
colors: {
  custom: {
    50: '#b4b663',
    500: '#8f9916',
    950: '#000000',
  },
}
SCSS
$custom: #8f9916;
$custom-light: #b4b663;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9916",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 64.58,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.65306,
    "c": 0.14145,
    "h": 114.4
  },
  "luminance": 0.2868
}

Semantic roles & 50–950 ramp

primary
#8F9916
secondary
#4F46C5
accent
#36F145
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9916

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

Preview Lab → · Contrast checker → · Palette generator →

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