#9FAE26#9FAE26

#9FAE26 is a light, vivid yellow. Relative luminance 0.378; OKLCH L 71.5% C 0.152 H 116.0°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#9FAE26
RGBrgb(159, 174, 38)
HSLhsl(67, 64%, 42%)
HSVhsv(67, 78%, 68%)
CMYKcmyk(8.6%, 0%, 78.2%, 31.8%)
CIE-LABlab(67.86, -21.85, 62.40)
CIE-LCHlch(67.86, 66.11, 109.30°)
OKLaboklab(71.55% -0.0666 0.1364)
OKLCHoklch(71.55% 0.152 116)
XYZxyz(29.7848, 37.7834, 7.5572)
Luminance0.3778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FAE26 #3526AE
analogous
#AE7926 #9FAE26 #5BAE26
triadic
#9FAE26 #269FAE #AE269F
tetradic
#9FAE26 #26AE79 #3526AE #AE265B
square
#9FAE26 #26AE79 #3526AE #AE265B
split-complementary
#9FAE26 #265BAE #7926AE
monochromatic
#434A10 #717C1B #9FAE26 #C4D53D #D3E06F

Accessibility & contrast

On white

2.45
#9FAE26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#9FAE26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FAE26
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FAE26#FFFFFF#000000##000000
##9FAE261.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#A9A495
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9fae26;
/* rgb */ color: rgb(159, 174, 38);
/* oklch */ color: oklch(71.5% 0.152 116.0);
Tailwind
colors: {
  custom: {
    50: '#bfc66d',
    500: '#9fae26',
    950: '#000000',
  },
}
SCSS
$custom: #9fae26;
$custom-light: #bfc66d;
$custom-dark: #000000;
JSON
{
  "hex": "#9fae26",
  "rgb": {
    "r": 159,
    "g": 174,
    "b": 38
  },
  "hsl": {
    "h": 66.618,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71547,
    "c": 0.15184,
    "h": 116
  },
  "luminance": 0.37783
}

Semantic roles & 50–950 ramp

primary
#9FAE26
secondary
#746AC6
accent
#41E753
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FAE26

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

Preview Lab → · Contrast checker → · Palette generator →

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