#8F9D19#8F9D19

#8F9D19 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.3% C 0.145 H 116.1°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8F9D19
RGBrgb(143, 157, 25)
HSLhsl(66, 73%, 36%)
HSVhsv(66, 84%, 62%)
CMYKcmyk(8.9%, 0%, 84.1%, 38.4%)
CIE-LABlab(61.67, -20.72, 60.11)
CIE-LCHlch(61.67, 63.58, 109.02°)
OKLaboklab(66.25% -0.0636 0.1299)
OKLCHoklch(66.25% 0.145 116.1)
XYZxyz(23.5608, 30.0241, 5.4736)
Luminance0.3002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D19 #27199D
analogous
#9D6919 #8F9D19 #4D9D19
triadic
#8F9D19 #198F9D #9D198F
tetradic
#8F9D19 #199D69 #27199D #9D194D
square
#8F9D19 #199D69 #27199D #9D194D
split-complementary
#8F9D19 #194D9D #69199D
monochromatic
#2F3308 #5F6811 #8F9D19 #BFD221 #D3E34E

Accessibility & contrast

On white

3.00
#8F9D19 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8F9D19 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9D19
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9D19#FFFFFF#000000##000000
##8F9D191.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99400
Deuteranopia (green-blind)
#A79627
Tritanopia (blue-blind)
#999386
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8f9d19;
/* rgb */ color: rgb(143, 157, 25);
/* oklch */ color: oklch(66.3% 0.145 116.1);
Tailwind
colors: {
  custom: {
    50: '#b4b965',
    500: '#8f9d19',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d19;
$custom-light: #b4b965;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d19",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 25
  },
  "hsl": {
    "h": 66.364,
    "s": 72.527,
    "l": 35.686
  },
  "oklch": {
    "l": 0.66254,
    "c": 0.14463,
    "h": 116.1
  },
  "luminance": 0.30024
}

Semantic roles & 50–950 ramp

primary
#8F9D19
secondary
#5A4DC5
accent
#39EF4C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9D19

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

Preview Lab → · Contrast checker → · Palette generator →

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