#8F9A28#8F9A28

#8F9A28 is a light, vivid yellow. Relative luminance 0.291; OKLCH L 65.6% C 0.134 H 115.0°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8F9A28
RGBrgb(143, 154, 40)
HSLhsl(66, 59%, 38%)
HSVhsv(66, 74%, 60%)
CMYKcmyk(7.1%, 0%, 74%, 39.6%)
CIE-LABlab(60.87, -18.57, 54.78)
CIE-LCHlch(60.87, 57.84, 108.73°)
OKLaboklab(65.63% -0.0565 0.1212)
OKLCHoklch(65.63% 0.134 115)
XYZxyz(23.2669, 29.1044, 6.3991)
Luminance0.2910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9A28 #33289A
analogous
#9A6C28 #8F9A28 #569A28
triadic
#8F9A28 #288F9A #9A288F
tetradic
#8F9A28 #289A6C #33289A #9A2856
square
#8F9A28 #289A6C #33289A #9A2856
split-complementary
#8F9A28 #28569A #6C289A
monochromatic
#35390F #62691B #8F9A28 #BCCA35 #CCD765

Accessibility & contrast

On white

3.08
#8F9A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#8F9A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9A28
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9A28#FFFFFF#000000##000000
##8F9A281.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59211
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#999184
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8f9a28;
/* rgb */ color: rgb(143, 154, 40);
/* oklch */ color: oklch(65.6% 0.134 115.0);
Tailwind
colors: {
  custom: {
    50: '#b3b76b',
    500: '#8f9a28',
    950: '#000000',
  },
}
SCSS
$custom: #8f9a28;
$custom-light: #b3b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9a28",
  "rgb": {
    "r": 143,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 65.789,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65634,
    "c": 0.13375,
    "h": 115
  },
  "luminance": 0.29104
}

Semantic roles & 50–950 ramp

primary
#8F9A28
secondary
#6A61BD
accent
#46E255
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9A28

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

Preview Lab → · Contrast checker → · Palette generator →

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