#8F9D18#8F9D18

#8F9D18 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#8F9D18
RGBrgb(143, 157, 24)
HSLhsl(66, 73%, 35%)
HSVhsv(66, 85%, 62%)
CMYKcmyk(8.9%, 0%, 84.7%, 38.4%)
CIE-LABlab(61.67, -20.75, 60.35)
CIE-LCHlch(61.67, 63.82, 108.97°)
OKLaboklab(66.25% -0.0638 0.1303)
OKLCHoklch(66.25% 0.145 116.1)
XYZxyz(23.5502, 30.0199, 5.4178)
Luminance0.3002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9D18 #26189D
analogous
#9D6818 #8F9D18 #4C9D18
triadic
#8F9D18 #188F9D #9D188F
tetradic
#8F9D18 #189D68 #26189D #9D184C
square
#8F9D18 #189D68 #26189D #9D184C
split-complementary
#8F9D18 #184C9D #68189D
monochromatic
#2E3308 #5F6810 #8F9D18 #BFD220 #D4E44C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9D18#FFFFFF#000000##000000
##8F9D181.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: #8f9d18;
/* rgb */ color: rgb(143, 157, 24);
/* oklch */ color: oklch(66.3% 0.145 116.1);
Tailwind
colors: {
  custom: {
    50: '#b4b964',
    500: '#8f9d18',
    950: '#000000',
  },
}
SCSS
$custom: #8f9d18;
$custom-light: #b4b964;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9d18",
  "rgb": {
    "r": 143,
    "g": 157,
    "b": 24
  },
  "hsl": {
    "h": 66.316,
    "s": 73.481,
    "l": 35.49
  },
  "oklch": {
    "l": 0.6625,
    "c": 0.14502,
    "h": 116.1
  },
  "luminance": 0.3002
}

Semantic roles & 50–950 ramp

primary
#8F9D18
secondary
#584BC5
accent
#38F04B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9D18

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

Preview Lab → · Contrast checker → · Palette generator →

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