#8F9428#8F9428

#8F9428 is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.2% C 0.127 H 112.1°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#8F9428
RGBrgb(143, 148, 40)
HSLhsl(63, 57%, 37%)
HSVhsv(63, 73%, 58%)
CMYKcmyk(3.4%, 0%, 73%, 42%)
CIE-LABlab(59.13, -15.46, 53.11)
CIE-LCHlch(59.13, 55.32, 106.23°)
OKLaboklab(64.24% -0.0478 0.1177)
OKLCHoklch(64.24% 0.127 112.1)
XYZxyz(22.3013, 27.1732, 6.0772)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9428 #2D2894
analogous
#946328 #8F9428 #599428
triadic
#8F9428 #288F94 #94288F
tetradic
#8F9428 #289463 #2D2894 #942859
square
#8F9428 #289463 #2D2894 #942859
split-complementary
#8F9428 #285994 #632894
monochromatic
#32340E #60641B #8F9428 #BEC435 #CFD562

Accessibility & contrast

On white

3.26
#8F9428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#8F9428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9428
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9428#FFFFFF#000000##000000
##8F94281.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D14
Deuteranopia (green-blind)
#A09030
Tritanopia (blue-blind)
#998B7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f9428;
/* rgb */ color: rgb(143, 148, 40);
/* oklch */ color: oklch(64.2% 0.127 112.1);
Tailwind
colors: {
  custom: {
    50: '#b3b36a',
    500: '#8f9428',
    950: '#000000',
  },
}
SCSS
$custom: #8f9428;
$custom-light: #b3b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9428",
  "rgb": {
    "r": 143,
    "g": 148,
    "b": 40
  },
  "hsl": {
    "h": 62.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6424,
    "c": 0.12705,
    "h": 112.1
  },
  "luminance": 0.27173
}

Semantic roles & 50–950 ramp

primary
#8F9428
secondary
#625EBA
accent
#47E14E
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9428

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

Preview Lab → · Contrast checker → · Palette generator →

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