#FFFE8F#FFFE8F

#FFFE8F is a very light, vivid yellow. Relative luminance 0.941; OKLCH L 97.5% C 0.134 H 108.2°. Best body text is #000000 at 19.83:1 contrast (WCAG AA passes).

Color values

HEX#FFFE8F
RGBrgb(255, 254, 143)
HSLhsl(59, 100%, 78%)
HSVhsv(59, 44%, 100%)
CMYKcmyk(0%, 0.4%, 43.9%, 0%)
CIE-LABlab(97.68, -14.72, 52.95)
CIE-LCHlch(97.68, 54.96, 105.54°)
OKLaboklab(97.49% -0.0417 0.127)
OKLCHoklch(97.49% 0.134 108.2)
XYZxyz(81.6413, 94.1287, 39.8492)
Luminance0.9413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE8F #8F90FF
analogous
#FFC68F #FFFE8F #C8FF8F
triadic
#FFFE8F #8FFFFE #FE8FFF
tetradic
#FFFE8F #8FFFC6 #8F90FF #FF8FC8
square
#FFFE8F #8FFFC6 #8F90FF #FF8FC8
split-complementary
#FFFE8F #8FC8FF #C68FFF
monochromatic
#FFFD15 #FFFD52 #FFFE8F #FFFFCC #FFFFE0

Accessibility & contrast

On white

1.06
#FFFE8F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.83
#FFFE8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE8F
19.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE8F#FFFFFF#000000##000000
##FFFE8F1.001.0619.8319.83
#FFFFFF1.061.0021.0021.00
#00000019.8321.001.001.00
##00000019.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF686
Deuteranopia (green-blind)
#FFFA94
Tritanopia (blue-blind)
#FFF2E4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffe8f;
/* rgb */ color: rgb(255, 254, 143);
/* oklch */ color: oklch(97.5% 0.134 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffeb2',
    500: '#fffe8f',
    950: '#000000',
  },
}
SCSS
$custom: #fffe8f;
$custom-light: #fffeb2;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe8f",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 143
  },
  "hsl": {
    "h": 59.464,
    "s": 100,
    "l": 78.039
  },
  "oklch": {
    "l": 0.9749,
    "c": 0.13369,
    "h": 108.2
  },
  "luminance": 0.94127
}

Semantic roles & 50–950 ramp

primary
#FFFE8F
secondary
#5253E0
accent
#02E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #FFFE8F

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

Preview Lab → · Contrast checker → · Palette generator →

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