#8F9922#8F9922

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

Color values

HEX#8F9922
RGBrgb(143, 153, 34)
HSLhsl(65, 64%, 37%)
HSVhsv(65, 78%, 60%)
CMYKcmyk(6.5%, 0%, 77.8%, 40%)
CIE-LABlab(60.55, -18.34, 56.52)
CIE-LCHlch(60.55, 59.42, 107.98°)
OKLaboklab(65.36% -0.0564 0.1238)
OKLCHoklch(65.36% 0.136 114.5)
XYZxyz(23.0083, 28.7380, 5.8480)
Luminance0.2874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9922 #2C2299
analogous
#996822 #8F9922 #549922
triadic
#8F9922 #228F99 #99228F
tetradic
#8F9922 #229968 #2C2299 #992254
square
#8F9922 #229968 #2C2299 #992254
split-complementary
#8F9922 #225499 #682299
monochromatic
#31350C #606717 #8F9922 #BECB2D #D0DB5B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9922#FFFFFF#000000##000000
##8F99221.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)
#A59101
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#999083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9922;
/* rgb */ color: rgb(143, 153, 34);
/* oklch */ color: oklch(65.4% 0.136 114.5);
Tailwind
colors: {
  custom: {
    50: '#b3b668',
    500: '#8f9922',
    950: '#000000',
  },
}
SCSS
$custom: #8f9922;
$custom-light: #b3b668;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9922",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 65.042,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65363,
    "c": 0.13606,
    "h": 114.5
  },
  "luminance": 0.28738
}

Semantic roles & 50–950 ramp

primary
#8F9922
secondary
#6158BF
accent
#41E74F
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9922

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

Preview Lab → · Contrast checker → · Palette generator →

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