#9FAC26#9FAC26

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

Color values

HEX#9FAC26
RGBrgb(159, 172, 38)
HSLhsl(66, 64%, 41%)
HSVhsv(66, 78%, 67%)
CMYKcmyk(7.6%, 0%, 77.9%, 32.5%)
CIE-LABlab(67.29, -20.85, 61.88)
CIE-LCHlch(67.29, 65.30, 108.62°)
OKLaboklab(71.09% -0.0639 0.1353)
OKLCHoklch(71.09% 0.15 115.3)
XYZxyz(29.4013, 37.0164, 7.4294)
Luminance0.3702 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAC26 #3326AC
analogous
#AC7626 #9FAC26 #5CAC26
triadic
#9FAC26 #269FAC #AC269F
tetradic
#9FAC26 #26AC76 #3326AC #AC265C
square
#9FAC26 #26AC76 #3326AC #AC265C
split-complementary
#9FAC26 #265CAC #7626AC
monochromatic
#424810 #717A1B #9FAC26 #C5D43B #D4DF6E

Accessibility & contrast

On white

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

On black

8.40
#9FAC26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAC26
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAC26#FFFFFF#000000##000000
##9FAC261.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9fac26;
/* rgb */ color: rgb(159, 172, 38);
/* oklch */ color: oklch(71.1% 0.150 115.3);
Tailwind
colors: {
  custom: {
    50: '#bfc46c',
    500: '#9fac26',
    950: '#000000',
  },
}
SCSS
$custom: #9fac26;
$custom-light: #bfc46c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fac26",
  "rgb": {
    "r": 159,
    "g": 172,
    "b": 38
  },
  "hsl": {
    "h": 65.821,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.71088,
    "c": 0.14965,
    "h": 115.3
  },
  "luminance": 0.37016
}

Semantic roles & 50–950 ramp

primary
#9FAC26
secondary
#7168C5
accent
#41E751
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131208
muted
#82817B

Preview Lab

Preview with #9FAC26

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

Preview Lab → · Contrast checker → · Palette generator →

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