#8F9E18#8F9E18

#8F9E18 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.5% C 0.146 H 116.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#8F9E18
RGBrgb(143, 158, 24)
HSLhsl(67, 74%, 36%)
HSVhsv(67, 85%, 62%)
CMYKcmyk(9.5%, 0%, 84.8%, 38%)
CIE-LABlab(61.96, -21.25, 60.60)
CIE-LCHlch(61.96, 64.22, 109.33°)
OKLaboklab(66.49% -0.0651 0.1308)
OKLCHoklch(66.49% 0.146 116.5)
XYZxyz(23.7201, 30.3597, 5.4744)
Luminance0.3036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9E18 #27189E
analogous
#9E6A18 #8F9E18 #4C9E18
triadic
#8F9E18 #188F9E #9E188F
tetradic
#8F9E18 #189E6A #27189E #9E184C
square
#8F9E18 #189E6A #27189E #9E184C
split-complementary
#8F9E18 #184C9E #6A189E
monochromatic
#2F3408 #5F6910 #8F9E18 #BFD320 #D3E44D

Accessibility & contrast

On white

2.97
#8F9E18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#8F9E18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9E18
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9E18#FFFFFF#000000##000000
##8F9E181.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A89727
Tritanopia (blue-blind)
#999487
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9e18;
/* rgb */ color: rgb(143, 158, 24);
/* oklch */ color: oklch(66.5% 0.146 116.5);
Tailwind
colors: {
  custom: {
    50: '#b4ba64',
    500: '#8f9e18',
    950: '#000000',
  },
}
SCSS
$custom: #8f9e18;
$custom-light: #b4ba64;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9e18",
  "rgb": {
    "r": 143,
    "g": 158,
    "b": 24
  },
  "hsl": {
    "h": 66.716,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.66485,
    "c": 0.14611,
    "h": 116.5
  },
  "luminance": 0.30359
}

Semantic roles & 50–950 ramp

primary
#8F9E18
secondary
#5A4CC6
accent
#38F04C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9E18

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

Preview Lab → · Contrast checker → · Palette generator →

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