#9FAB26#9FAB26

#9FAB26 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 70.9% C 0.149 H 114.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#9FAB26
RGBrgb(159, 171, 38)
HSLhsl(65, 64%, 41%)
HSVhsv(65, 78%, 67%)
CMYKcmyk(7%, 0%, 77.8%, 32.9%)
CIE-LABlab(67.00, -20.35, 61.62)
CIE-LCHlch(67.00, 64.89, 108.28°)
OKLaboklab(70.86% -0.0625 0.1348)
OKLCHoklch(70.86% 0.149 114.9)
XYZxyz(29.2117, 36.6372, 7.3662)
Luminance0.3664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAB26 #3226AB
analogous
#AB7426 #9FAB26 #5CAB26
triadic
#9FAB26 #269FAB #AB269F
tetradic
#9FAB26 #26AB74 #3226AB #AB265C
square
#9FAB26 #26AB74 #3226AB #AB265C
split-complementary
#9FAB26 #265CAB #7426AB
monochromatic
#424710 #70791B #9FAB26 #C6D33B #D4DF6D

Accessibility & contrast

On white

2.52
#9FAB26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#9FAB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAB26
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAB26#FFFFFF#000000##000000
##9FAB261.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B7A432
Tritanopia (blue-blind)
#AAA192
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #9fab26;
/* rgb */ color: rgb(159, 171, 38);
/* oklch */ color: oklch(70.9% 0.149 114.9);
Tailwind
colors: {
  custom: {
    50: '#bfc36c',
    500: '#9fab26',
    950: '#000000',
  },
}
SCSS
$custom: #9fab26;
$custom-light: #bfc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fab26",
  "rgb": {
    "r": 159,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 65.414,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.70859,
    "c": 0.14857,
    "h": 114.9
  },
  "luminance": 0.36637
}

Semantic roles & 50–950 ramp

primary
#9FAB26
secondary
#7068C5
accent
#41E750
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FAB26

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

Preview Lab → · Contrast checker → · Palette generator →

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