#8F9927#8F9927

#8F9927 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.75:1 contrast (WCAG AA passes).

Color values

HEX#8F9927
RGBrgb(143, 153, 39)
HSLhsl(65, 59%, 38%)
HSVhsv(65, 75%, 60%)
CMYKcmyk(6.5%, 0%, 74.5%, 40%)
CIE-LABlab(60.58, -18.11, 54.86)
CIE-LCHlch(60.58, 57.77, 108.27°)
OKLaboklab(65.39% -0.0553 0.1212)
OKLCHoklch(65.39% 0.133 114.5)
XYZxyz(23.0858, 28.7690, 6.2559)
Luminance0.2877 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9927 #312799
analogous
#996A27 #8F9927 #569927
triadic
#8F9927 #278F99 #99278F
tetradic
#8F9927 #27996A #312799 #992756
square
#8F9927 #27996A #312799 #992756
split-complementary
#8F9927 #275699 #6A2799
monochromatic
#34370E #61681B #8F9927 #BDCA33 #CDD763

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9927#FFFFFF#000000##000000
##8F99271.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)
#A4910F
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#999083
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9927;
/* rgb */ color: rgb(143, 153, 39);
/* oklch */ color: oklch(65.4% 0.133 114.5);
Tailwind
colors: {
  custom: {
    50: '#b3b66a',
    500: '#8f9927',
    950: '#000000',
  },
}
SCSS
$custom: #8f9927;
$custom-light: #b3b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9927",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 39
  },
  "hsl": {
    "h": 65.263,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65394,
    "c": 0.13322,
    "h": 114.5
  },
  "luminance": 0.28769
}

Semantic roles & 50–950 ramp

primary
#8F9927
secondary
#675FBD
accent
#45E353
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9927

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

Preview Lab → · Contrast checker → · Palette generator →

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