#FFFE9F#FFFE9F

#FFFE9F is a very light, moderate yellow. Relative luminance 0.946; OKLCH L 97.7% C 0.117 H 107.9°. Best body text is #000000 at 19.93:1 contrast (WCAG AA passes).

Color values

HEX#FFFE9F
RGBrgb(255, 254, 159)
HSLhsl(59, 100%, 81%)
HSVhsv(59, 38%, 100%)
CMYKcmyk(0%, 0.4%, 37.6%, 0%)
CIE-LABlab(97.89, -13.12, 45.55)
CIE-LCHlch(97.89, 47.40, 106.07°)
OKLaboklab(97.72% -0.0358 0.1112)
OKLCHoklch(97.72% 0.117 107.9)
XYZxyz(82.9409, 94.6485, 46.6940)
Luminance0.9465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE9F #9FA0FF
analogous
#FFCE9F #FFFE9F #D0FF9F
triadic
#FFFE9F #9FFFFE #FE9FFF
tetradic
#FFFE9F #9FFFCE #9FA0FF #FF9FD0
square
#FFFE9F #9FFFCE #9FA0FF #FF9FD0
split-complementary
#FFFE9F #9FD0FF #CE9FFF
monochromatic
#FFFD25 #FFFD62 #FFFE9F #FFFFDC #FFFFE0

Accessibility & contrast

On white

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

On black

19.93
#FFFE9F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE9F
19.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE9F#FFFFFF#000000##000000
##FFFE9F1.001.0519.9319.93
#FFFFFF1.051.0021.0021.00
#00000019.9321.001.001.00
##00000019.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF798
Deuteranopia (green-blind)
#FFFBA3
Tritanopia (blue-blind)
#FFF3E7
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fffe9f;
/* rgb */ color: rgb(255, 254, 159);
/* oklch */ color: oklch(97.7% 0.117 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffebc',
    500: '#fffe9f',
    950: '#000000',
  },
}
SCSS
$custom: #fffe9f;
$custom-light: #fffebc;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe9f",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 159
  },
  "hsl": {
    "h": 59.375,
    "s": 100,
    "l": 81.176
  },
  "oklch": {
    "l": 0.97724,
    "c": 0.11686,
    "h": 107.9
  },
  "luminance": 0.94647
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFE9F

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

Preview Lab → · Contrast checker → · Palette generator →

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