#8F9928#8F9928

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

Color values

HEX#8F9928
RGBrgb(143, 153, 40)
HSLhsl(65, 59%, 38%)
HSVhsv(65, 74%, 60%)
CMYKcmyk(6.5%, 0%, 73.9%, 40%)
CIE-LABlab(60.58, -18.06, 54.50)
CIE-LCHlch(60.58, 57.42, 108.33°)
OKLaboklab(65.4% -0.0551 0.1206)
OKLCHoklch(65.4% 0.133 114.5)
XYZxyz(23.1026, 28.7757, 6.3443)
Luminance0.2878 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9928 #322899
analogous
#996B28 #8F9928 #569928
triadic
#8F9928 #288F99 #99288F
tetradic
#8F9928 #28996B #322899 #992856
square
#8F9928 #28996B #322899 #992856
split-complementary
#8F9928 #285699 #6B2899
monochromatic
#34380F #62681B #8F9928 #BCCA35 #CDD765

Accessibility & contrast

On white

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

On black

6.76
#8F9928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9928
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9928#FFFFFF#000000##000000
##8F99281.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f9928;
/* rgb */ color: rgb(143, 153, 40);
/* oklch */ color: oklch(65.4% 0.133 114.5);
Tailwind
colors: {
  custom: {
    50: '#b3b66a',
    500: '#8f9928',
    950: '#000000',
  },
}
SCSS
$custom: #8f9928;
$custom-light: #b3b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9928",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 65.31,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.65401,
    "c": 0.13262,
    "h": 114.5
  },
  "luminance": 0.28775
}

Semantic roles & 50–950 ramp

primary
#8F9928
secondary
#6860BD
accent
#46E254
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9928

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

Preview Lab → · Contrast checker → · Palette generator →

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