#FFFE8E#FFFE8E

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

Color values

HEX#FFFE8E
RGBrgb(255, 254, 142)
HSLhsl(59, 100%, 78%)
HSVhsv(59, 44%, 100%)
CMYKcmyk(0%, 0.4%, 44.3%, 0%)
CIE-LABlab(97.67, -14.82, 53.40)
CIE-LCHlch(97.67, 55.42, 105.51°)
OKLaboklab(97.48% -0.0421 0.128)
OKLCHoklch(97.48% 0.135 108.2)
XYZxyz(81.5659, 94.0985, 39.4521)
Luminance0.9410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE8E #8E8FFF
analogous
#FFC58E #FFFE8E #C7FF8E
triadic
#FFFE8E #8EFFFE #FE8EFF
tetradic
#FFFE8E #8EFFC5 #8E8FFF #FF8EC7
square
#FFFE8E #8EFFC5 #8E8FFF #FF8EC7
split-complementary
#FFFE8E #8EC7FF #C58EFF
monochromatic
#FFFD14 #FFFD51 #FFFE8E #FFFFCB #FFFFE0

Accessibility & contrast

On white

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

On black

19.82
#FFFE8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE8E
19.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE8E#FFFFFF#000000##000000
##FFFE8E1.001.0619.8219.82
#FFFFFF1.061.0021.0021.00
#00000019.8221.001.001.00
##00000019.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffe8e;
/* rgb */ color: rgb(255, 254, 142);
/* oklch */ color: oklch(97.5% 0.135 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffeb1',
    500: '#fffe8e',
    950: '#000000',
  },
}
SCSS
$custom: #fffe8e;
$custom-light: #fffeb1;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe8e",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 142
  },
  "hsl": {
    "h": 59.469,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.97476,
    "c": 0.13469,
    "h": 108.2
  },
  "luminance": 0.94097
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFE8E

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

Preview Lab → · Contrast checker → · Palette generator →

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