#8F9728#8F9728

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

Color values

HEX#8F9728
RGBrgb(143, 151, 40)
HSLhsl(64, 58%, 37%)
HSVhsv(64, 74%, 59%)
CMYKcmyk(5.3%, 0%, 73.5%, 40.8%)
CIE-LABlab(60.00, -17.03, 53.95)
CIE-LCHlch(60.00, 56.57, 107.52°)
OKLaboklab(64.94% -0.0522 0.1195)
OKLCHoklch(64.94% 0.13 113.6)
XYZxyz(22.7780, 28.1265, 6.2361)
Luminance0.2813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9728 #302897
analogous
#976728 #8F9728 #589728
triadic
#8F9728 #288F97 #97288F
tetradic
#8F9728 #289767 #302897 #972858
square
#8F9728 #289767 #302897 #972858
split-complementary
#8F9728 #285897 #672897
monochromatic
#33360E #61671B #8F9728 #BDC735 #CED664

Accessibility & contrast

On white

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

On black

6.63
#8F9728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9728
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9728#FFFFFF#000000##000000
##8F97281.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29013
Deuteranopia (green-blind)
#A29231
Tritanopia (blue-blind)
#998E82
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #8f9728;
/* rgb */ color: rgb(143, 151, 40);
/* oklch */ color: oklch(64.9% 0.130 113.6);
Tailwind
colors: {
  custom: {
    50: '#b3b56a',
    500: '#8f9728',
    950: '#000000',
  },
}
SCSS
$custom: #8f9728;
$custom-light: #b3b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9728",
  "rgb": {
    "r": 143,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 64.324,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.64936,
    "c": 0.13037,
    "h": 113.6
  },
  "luminance": 0.28126
}

Semantic roles & 50–950 ramp

primary
#8F9728
secondary
#665FBC
accent
#46E152
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9728

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

Preview Lab → · Contrast checker → · Palette generator →

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