#8F9918#8F9918

#8F9918 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#8F9918
RGBrgb(143, 153, 24)
HSLhsl(65, 73%, 35%)
HSVhsv(65, 84%, 60%)
CMYKcmyk(6.5%, 0%, 84.3%, 40%)
CIE-LABlab(60.51, -18.71, 59.36)
CIE-LCHlch(60.51, 62.24, 107.49°)
OKLaboklab(65.31% -0.0582 0.1281)
OKLCHoklch(65.31% 0.141 114.4)
XYZxyz(22.8845, 28.6885, 5.1959)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9918 #221899
analogous
#996218 #8F9918 #4F9918
triadic
#8F9918 #188F99 #99188F
tetradic
#8F9918 #189962 #221899 #99184F
square
#8F9918 #189962 #221899 #99184F
split-complementary
#8F9918 #184F99 #621899
monochromatic
#2C2F07 #5E6410 #8F9918 #C0CE20 #D7E249

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9918#FFFFFF#000000##000000
##8F99181.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)
#A49326
Tritanopia (blue-blind)
#998F82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9918;
/* rgb */ color: rgb(143, 153, 24);
/* oklch */ color: oklch(65.3% 0.141 114.4);
Tailwind
colors: {
  custom: {
    50: '#b4b664',
    500: '#8f9918',
    950: '#000000',
  },
}
SCSS
$custom: #8f9918;
$custom-light: #b4b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9918",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 24
  },
  "hsl": {
    "h": 64.651,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.65314,
    "c": 0.14068,
    "h": 114.4
  },
  "luminance": 0.28688
}

Semantic roles & 50–950 ramp

primary
#8F9918
secondary
#5249C4
accent
#38F046
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9918

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

Preview Lab → · Contrast checker → · Palette generator →

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