#9FAC28#9FAC28

#9FAC28 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.149 H 115.3°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#9FAC28
RGBrgb(159, 172, 40)
HSLhsl(66, 62%, 42%)
HSVhsv(66, 77%, 67%)
CMYKcmyk(7.6%, 0%, 76.7%, 32.5%)
CIE-LABlab(67.30, -20.77, 61.26)
CIE-LCHlch(67.30, 64.68, 108.73°)
OKLaboklab(71.1% -0.0635 0.1344)
OKLCHoklch(71.1% 0.149 115.3)
XYZxyz(29.4344, 37.0297, 7.6039)
Luminance0.3703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC28 #3528AC
analogous
#AC7728 #9FAC28 #5DAC28
triadic
#9FAC28 #289FAC #AC289F
tetradic
#9FAC28 #28AC77 #3528AC #AC285D
square
#9FAC28 #28AC77 #3528AC #AC285D
split-complementary
#9FAC28 #285DAC #7728AC
monochromatic
#434911 #717A1C #9FAC28 #C4D23F #D3DE71

Accessibility & contrast

On white

2.50
#9FAC28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#9FAC28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC28
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC28#FFFFFF#000000##000000
##9FAC281.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A304
Deuteranopia (green-blind)
#B8A534
Tritanopia (blue-blind)
#AAA293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9fac28;
/* rgb */ color: rgb(159, 172, 40);
/* oklch */ color: oklch(71.1% 0.149 115.3);
Tailwind
colors: {
  custom: {
    50: '#bfc46d',
    500: '#9fac28',
    950: '#000000',
  },
}
SCSS
$custom: #9fac28;
$custom-light: #bfc46d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac28",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 40
  },
  "hsl": {
    "h": 65.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71099,
    "c": 0.14862,
    "h": 115.3
  },
  "luminance": 0.37029
}

Semantic roles & 50–950 ramp

primary
#9FAC28
secondary
#746BC5
accent
#42E553
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC28

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

Preview Lab → · Contrast checker → · Palette generator →

#9FAC28 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva