#8F9936#8F9936

#8F9936 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.5% C 0.123 H 114.7°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#8F9936
RGBrgb(143, 153, 54)
HSLhsl(66, 48%, 41%)
HSVhsv(66, 65%, 60%)
CMYKcmyk(6.5%, 0%, 64.7%, 40%)
CIE-LABlab(60.68, -17.22, 49.03)
CIE-LCHlch(60.68, 51.97, 109.36°)
OKLaboklab(65.51% -0.0513 0.1114)
OKLCHoklch(65.51% 0.123 114.7)
XYZxyz(23.3853, 28.8888, 7.8335)
Luminance0.2889 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9936 #403699
analogous
#997136 #8F9936 #5D9936
triadic
#8F9936 #368F99 #99368F
tetradic
#8F9936 #369971 #403699 #99365D
square
#8F9936 #369971 #403699 #99365D
split-complementary
#8F9936 #365D99 #713699
monochromatic
#3A3F16 #656C26 #8F9936 #B4C04C #C7D07A

Accessibility & contrast

On white

3.10
#8F9936 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#8F9936 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9936
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9936#FFFFFF#000000##000000
##8F99361.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49229
Deuteranopia (green-blind)
#A3933D
Tritanopia (blue-blind)
#989085
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #8f9936;
/* rgb */ color: rgb(143, 153, 54);
/* oklch */ color: oklch(65.5% 0.123 114.7);
Tailwind
colors: {
  custom: {
    50: '#b2b672',
    500: '#8f9936',
    950: '#000000',
  },
}
SCSS
$custom: #8f9936;
$custom-light: #b2b672;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9936",
  "rgb": {
    "r": 143,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 66.061,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65513,
    "c": 0.1227,
    "h": 114.7
  },
  "luminance": 0.28888
}

Semantic roles & 50–950 ramp

primary
#8F9936
secondary
#7972B9
accent
#50D75E
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111108
muted
#80807B

Preview Lab

Preview with #8F9936

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

Preview Lab → · Contrast checker → · Palette generator →

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