#8F9628#8F9628

#8F9628 is a light, vivid yellow. Relative luminance 0.278; OKLCH L 64.7% C 0.129 H 113.1°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#8F9628
RGBrgb(143, 150, 40)
HSLhsl(64, 58%, 37%)
HSVhsv(64, 73%, 59%)
CMYKcmyk(4.7%, 0%, 73.3%, 41.2%)
CIE-LABlab(59.71, -16.51, 53.67)
CIE-LCHlch(59.71, 56.15, 107.10°)
OKLaboklab(64.7% -0.0508 0.1189)
OKLCHoklch(64.7% 0.129 113.1)
XYZxyz(22.6177, 27.8060, 6.1827)
Luminance0.2781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9628 #2F2896
analogous
#966628 #8F9628 #589628
triadic
#8F9628 #288F96 #96288F
tetradic
#8F9628 #289666 #2F2896 #962858
square
#8F9628 #289666 #2F2896 #962858
split-complementary
#8F9628 #285896 #662896
monochromatic
#33350E #61661B #8F9628 #BDC635 #CED563

Accessibility & contrast

On white

3.20
#8F9628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#8F9628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9628
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9628#FFFFFF#000000##000000
##8F96281.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F13
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#998D81
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #8f9628;
/* rgb */ color: rgb(143, 150, 40);
/* oklch */ color: oklch(64.7% 0.129 113.1);
Tailwind
colors: {
  custom: {
    50: '#b3b46a',
    500: '#8f9628',
    950: '#000000',
  },
}
SCSS
$custom: #8f9628;
$custom-light: #b3b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9628",
  "rgb": {
    "r": 143,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 63.818,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.64703,
    "c": 0.12926,
    "h": 113.1
  },
  "luminance": 0.27806
}

Semantic roles & 50–950 ramp

primary
#8F9628
secondary
#655FBB
accent
#47E151
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9628

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

Preview Lab → · Contrast checker → · Palette generator →

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