#FFFE9C#FFFE9C

#FFFE9C is a very light, vivid yellow. Relative luminance 0.945; OKLCH L 97.7% C 0.120 H 107.9°. Best body text is #000000 at 19.91:1 contrast (WCAG AA passes).

Color values

HEX#FFFE9C
RGBrgb(255, 254, 156)
HSLhsl(59, 100%, 81%)
HSVhsv(59, 39%, 100%)
CMYKcmyk(0%, 0.4%, 38.8%, 0%)
CIE-LABlab(97.85, -13.43, 46.95)
CIE-LCHlch(97.85, 48.83, 105.97°)
OKLaboklab(97.68% -0.037 0.1143)
OKLCHoklch(97.68% 0.12 107.9)
XYZxyz(82.6838, 94.5456, 45.3395)
Luminance0.9454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE9C #9C9DFF
analogous
#FFCC9C #FFFE9C #CEFF9C
triadic
#FFFE9C #9CFFFE #FE9CFF
tetradic
#FFFE9C #9CFFCC #9C9DFF #FF9CCE
square
#FFFE9C #9CFFCC #9C9DFF #FF9CCE
split-complementary
#FFFE9C #9CCEFF #CC9CFF
monochromatic
#FFFD22 #FFFD5F #FFFE9C #FFFFD9 #FFFFE0

Accessibility & contrast

On white

1.05
#FFFE9C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.91
#FFFE9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE9C
19.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE9C#FFFFFF#000000##000000
##FFFE9C1.001.0519.9119.91
#FFFFFF1.051.0021.0021.00
#00000019.9121.001.001.00
##00000019.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF794
Deuteranopia (green-blind)
#FFFBA0
Tritanopia (blue-blind)
#FFF3E6
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fffe9c;
/* rgb */ color: rgb(255, 254, 156);
/* oklch */ color: oklch(97.7% 0.120 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffeba',
    500: '#fffe9c',
    950: '#000000',
  },
}
SCSS
$custom: #fffe9c;
$custom-light: #fffeba;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe9c",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 156
  },
  "hsl": {
    "h": 59.394,
    "s": 100,
    "l": 80.588
  },
  "oklch": {
    "l": 0.97678,
    "c": 0.12011,
    "h": 107.9
  },
  "luminance": 0.94544
}

Semantic roles & 50–950 ramp

primary
#FFFE9C
secondary
#5D5EE2
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #FFFE9C

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

Preview Lab → · Contrast checker → · Palette generator →

#FFFE9C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva