#FFFE9E#FFFE9E

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

Color values

HEX#FFFE9E
RGBrgb(255, 254, 158)
HSLhsl(59, 100%, 81%)
HSVhsv(59, 38%, 100%)
CMYKcmyk(0%, 0.4%, 38%, 0%)
CIE-LABlab(97.88, -13.22, 46.01)
CIE-LCHlch(97.88, 47.88, 106.03°)
OKLaboklab(97.71% -0.0362 0.1123)
OKLCHoklch(97.71% 0.118 107.9)
XYZxyz(82.8545, 94.6139, 46.2388)
Luminance0.9461 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE9E #9E9FFF
analogous
#FFCD9E #FFFE9E #CFFF9E
triadic
#FFFE9E #9EFFFE #FE9EFF
tetradic
#FFFE9E #9EFFCD #9E9FFF #FF9ECF
square
#FFFE9E #9EFFCD #9E9FFF #FF9ECF
split-complementary
#FFFE9E #9ECFFF #CD9EFF
monochromatic
#FFFD24 #FFFD61 #FFFE9E #FFFFDB #FFFFE0

Accessibility & contrast

On white

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

On black

19.92
#FFFE9E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE9E
19.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE9E#FFFFFF#000000##000000
##FFFE9E1.001.0519.9219.92
#FFFFFF1.051.0021.0021.00
#00000019.9221.001.001.00
##00000019.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffe9e;
/* rgb */ color: rgb(255, 254, 158);
/* oklch */ color: oklch(97.7% 0.118 107.9);
Tailwind
colors: {
  custom: {
    50: '#fffebc',
    500: '#fffe9e',
    950: '#000000',
  },
}
SCSS
$custom: #fffe9e;
$custom-light: #fffebc;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe9e",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 158
  },
  "hsl": {
    "h": 59.381,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.97708,
    "c": 0.11795,
    "h": 107.9
  },
  "luminance": 0.94612
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFE9E

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

Preview Lab → · Contrast checker → · Palette generator →

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