#FFFE8A#FFFE8A

#FFFE8A is a very light, vivid yellow. Relative luminance 0.940; OKLCH L 97.4% C 0.139 H 108.3°. Best body text is #000000 at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#FFFE8A
RGBrgb(255, 254, 138)
HSLhsl(59, 100%, 77%)
HSVhsv(59, 46%, 100%)
CMYKcmyk(0%, 0.4%, 45.9%, 0%)
CIE-LABlab(97.62, -15.19, 55.22)
CIE-LCHlch(97.62, 57.27, 105.38°)
OKLaboklab(97.42% -0.0435 0.1317)
OKLCHoklch(97.42% 0.139 108.3)
XYZxyz(81.2709, 93.9805, 37.8987)
Luminance0.9398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE8A #8A8BFF
analogous
#FFC48A #FFFE8A #C6FF8A
triadic
#FFFE8A #8AFFFE #FE8AFF
tetradic
#FFFE8A #8AFFC4 #8A8BFF #FF8AC6
square
#FFFE8A #8AFFC4 #8A8BFF #FF8AC6
split-complementary
#FFFE8A #8AC6FF #C48AFF
monochromatic
#FFFD10 #FFFD4D #FFFE8A #FFFFC7 #FFFFE0

Accessibility & contrast

On white

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

On black

19.80
#FFFE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE8A
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE8A#FFFFFF#000000##000000
##FFFE8A1.001.0619.8019.80
#FFFFFF1.061.0021.0021.00
#00000019.8021.001.001.00
##00000019.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF680
Deuteranopia (green-blind)
#FFFA90
Tritanopia (blue-blind)
#FFF1E3
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffe8a;
/* rgb */ color: rgb(255, 254, 138);
/* oklch */ color: oklch(97.4% 0.139 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffeae',
    500: '#fffe8a',
    950: '#000000',
  },
}
SCSS
$custom: #fffe8a;
$custom-light: #fffeae;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe8a",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 138
  },
  "hsl": {
    "h": 59.487,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.97423,
    "c": 0.13868,
    "h": 108.3
  },
  "luminance": 0.93979
}

Semantic roles & 50–950 ramp

primary
#FFFE8A
secondary
#4E4FE0
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FFFE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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