#8F9818#8F9818

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

Color values

HEX#8F9818
RGBrgb(143, 152, 24)
HSLhsl(64, 73%, 35%)
HSVhsv(64, 84%, 60%)
CMYKcmyk(5.9%, 0%, 84.2%, 40.4%)
CIE-LABlab(60.21, -18.20, 59.12)
CIE-LCHlch(60.21, 61.85, 107.11°)
OKLaboklab(65.08% -0.0567 0.1276)
OKLCHoklch(65.08% 0.14 114)
XYZxyz(22.7215, 28.3625, 5.1416)
Luminance0.2836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9818 #211898
analogous
#986118 #8F9818 #4F9818
triadic
#8F9818 #188F98 #98188F
tetradic
#8F9818 #189861 #211898 #98184F
square
#8F9818 #189861 #211898 #98184F
split-complementary
#8F9818 #184F98 #611898
monochromatic
#2C2E07 #5D6310 #8F9818 #C1CD20 #D7E248

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F9818#FFFFFF#000000##000000
##8F98181.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: #8f9818;
/* rgb */ color: rgb(143, 152, 24);
/* oklch */ color: oklch(65.1% 0.140 114.0);
Tailwind
colors: {
  custom: {
    50: '#b4b664',
    500: '#8f9818',
    950: '#000000',
  },
}
SCSS
$custom: #8f9818;
$custom-light: #b4b664;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9818",
  "rgb": {
    "r": 143,
    "g": 152,
    "b": 24
  },
  "hsl": {
    "h": 64.219,
    "s": 72.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.65081,
    "c": 0.13962,
    "h": 114
  },
  "luminance": 0.28362
}

Semantic roles & 50–950 ramp

primary
#8F9818
secondary
#5148C4
accent
#38EF45
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9818

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

Preview Lab → · Contrast checker → · Palette generator →

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