#8F9720#8F9720

#8F9720 is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.9% C 0.135 H 113.6°. Best body text is #000000 at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8F9720
RGBrgb(143, 151, 32)
HSLhsl(64, 65%, 36%)
HSVhsv(64, 79%, 59%)
CMYKcmyk(5.3%, 0%, 78.8%, 40.8%)
CIE-LABlab(59.96, -17.39, 56.62)
CIE-LCHlch(59.96, 59.23, 107.08°)
OKLaboklab(64.89% -0.0539 0.1237)
OKLCHoklch(64.89% 0.135 113.6)
XYZxyz(22.6557, 28.0776, 5.5923)
Luminance0.2808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9720 #282097
analogous
#976320 #8F9720 #539720
triadic
#8F9720 #208F97 #97208F
tetradic
#8F9720 #209763 #282097 #972053
square
#8F9720 #209763 #282097 #972053
split-complementary
#8F9720 #205397 #632097
monochromatic
#2F320B #5F6415 #8F9720 #BFC92B #D2DB56

Accessibility & contrast

On white

3.17
#8F9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#8F9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9720
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9720#FFFFFF#000000##000000
##8F97201.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#998E81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f9720;
/* rgb */ color: rgb(143, 151, 32);
/* oklch */ color: oklch(64.9% 0.135 113.6);
Tailwind
colors: {
  custom: {
    50: '#b3b567',
    500: '#8f9720',
    950: '#000000',
  },
}
SCSS
$custom: #8f9720;
$custom-light: #b3b567;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9720",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 64.034,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64886,
    "c": 0.13491,
    "h": 113.6
  },
  "luminance": 0.28077
}

Semantic roles & 50–950 ramp

primary
#8F9720
secondary
#5B54BF
accent
#40E84B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F9720

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

Preview Lab → · Contrast checker → · Palette generator →

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