#8F9819#8F9819

#8F9819 is a light, vivid yellow. Relative luminance 0.284; OKLCH L 65.1% C 0.139 H 114.0°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#8F9819
RGBrgb(143, 152, 25)
HSLhsl(64, 72%, 35%)
HSVhsv(64, 84%, 60%)
CMYKcmyk(5.9%, 0%, 83.6%, 40.4%)
CIE-LABlab(60.22, -18.17, 58.86)
CIE-LCHlch(60.22, 61.60, 107.15°)
OKLaboklab(65.09% -0.0566 0.1272)
OKLCHoklch(65.09% 0.139 114)
XYZxyz(22.7321, 28.3668, 5.1974)
Luminance0.2837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9819 #221998
analogous
#986219 #8F9819 #509819
triadic
#8F9819 #198F98 #98198F
tetradic
#8F9819 #199862 #221998 #981950
square
#8F9819 #199862 #221998 #981950
split-complementary
#8F9819 #195098 #621998
monochromatic
#2C2F08 #5E6310 #8F9819 #C0CD22 #D7E14A

Accessibility & contrast

On white

3.15
#8F9819 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#8F9819 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9819
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9819#FFFFFF#000000##000000
##8F98191.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A49226
Tritanopia (blue-blind)
#998E81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8f9819;
/* rgb */ color: rgb(143, 152, 25);
/* oklch */ color: oklch(65.1% 0.139 114.0);
Tailwind
colors: {
  custom: {
    50: '#b4b664',
    500: '#8f9819',
    950: '#000000',
  },
}
SCSS
$custom: #8f9819;
$custom-light: #b4b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9819",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 25
  },
  "hsl": {
    "h": 64.252,
    "s": 71.751,
    "l": 34.706
  },
  "oklch": {
    "l": 0.65085,
    "c": 0.13922,
    "h": 114
  },
  "luminance": 0.28366
}

Semantic roles & 50–950 ramp

primary
#8F9819
secondary
#524AC3
accent
#39EE46
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9819

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

Preview Lab → · Contrast checker → · Palette generator →

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