#8F9F18#8F9F18

#8F9F18 is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.7% C 0.147 H 116.9°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#8F9F18
RGBrgb(143, 159, 24)
HSLhsl(67, 74%, 36%)
HSVhsv(67, 85%, 62%)
CMYKcmyk(10.1%, 0%, 84.9%, 37.6%)
CIE-LABlab(62.26, -21.76, 60.85)
CIE-LCHlch(62.26, 64.62, 109.67°)
OKLaboklab(66.72% -0.0665 0.1313)
OKLCHoklch(66.72% 0.147 116.9)
XYZxyz(23.8914, 30.7022, 5.5315)
Luminance0.3070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F18 #28189F
analogous
#9F6B18 #8F9F18 #4B9F18
triadic
#8F9F18 #188F9F #9F188F
tetradic
#8F9F18 #189F6B #28189F #9F184B
square
#8F9F18 #189F6B #28189F #9F184B
split-complementary
#8F9F18 #184B9F #6B189F
monochromatic
#2F3508 #5F6A10 #8F9F18 #BFD420 #D2E44D

Accessibility & contrast

On white

2.94
#8F9F18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#8F9F18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F18
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F18#FFFFFF#000000##000000
##8F9F181.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9600
Deuteranopia (green-blind)
#A99727
Tritanopia (blue-blind)
#999587
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8f9f18;
/* rgb */ color: rgb(143, 159, 24);
/* oklch */ color: oklch(66.7% 0.147 116.9);
Tailwind
colors: {
  custom: {
    50: '#b4bb65',
    500: '#8f9f18',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f18;
$custom-light: #b4bb65;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f18",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 67.111,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6672,
    "c": 0.14721,
    "h": 116.9
  },
  "luminance": 0.30702
}

Semantic roles & 50–950 ramp

primary
#8F9F18
secondary
#5B4DC6
accent
#37F04D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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