#8F9920#8F9920

#8F9920 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.4% C 0.137 H 114.5°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8F9920
RGBrgb(143, 153, 32)
HSLhsl(65, 65%, 36%)
HSVhsv(65, 79%, 60%)
CMYKcmyk(6.5%, 0%, 79.1%, 40%)
CIE-LABlab(60.54, -18.42, 57.15)
CIE-LCHlch(60.54, 60.04, 107.87°)
OKLaboklab(65.35% -0.0568 0.1248)
OKLCHoklch(65.35% 0.137 114.5)
XYZxyz(22.9803, 28.7268, 5.7005)
Luminance0.2873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9920 #2A2099
analogous
#996720 #8F9920 #539920
triadic
#8F9920 #208F99 #99208F
tetradic
#8F9920 #209967 #2A2099 #992053
square
#8F9920 #209967 #2A2099 #992053
split-complementary
#8F9920 #205399 #672099
monochromatic
#30340B #606615 #8F9920 #BECC2B #D1DC57

Accessibility & contrast

On white

3.11
#8F9920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#8F9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9920
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9920#FFFFFF#000000##000000
##8F99201.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#A4932B
Tritanopia (blue-blind)
#999083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9920;
/* rgb */ color: rgb(143, 153, 32);
/* oklch */ color: oklch(65.4% 0.137 114.5);
Tailwind
colors: {
  custom: {
    50: '#b3b667',
    500: '#8f9920',
    950: '#000000',
  },
}
SCSS
$custom: #8f9920;
$custom-light: #b3b667;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9920",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 64.959,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65352,
    "c": 0.13709,
    "h": 114.5
  },
  "luminance": 0.28726
}

Semantic roles & 50–950 ramp

primary
#8F9920
secondary
#5E55C0
accent
#3FE84D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9920

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

Preview Lab → · Contrast checker → · Palette generator →

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