#FFFE5B#FFFE5B

#FFFE5B is a very light, vivid yellow. Relative luminance 0.929; OKLCH L 96.9% C 0.178 H 109.0°. Best body text is #000000 at 19.58:1 contrast (WCAG AA passes).

Color values

HEX#FFFE5B
RGBrgb(255, 254, 91)
HSLhsl(60, 100%, 68%)
HSVhsv(60, 64%, 100%)
CMYKcmyk(0%, 0.4%, 64.3%, 0%)
CIE-LABlab(97.19, -18.62, 74.86)
CIE-LCHlch(97.19, 77.14, 103.96°)
OKLaboklab(96.93% -0.058 0.1686)
OKLCHoklch(96.93% 0.178 109)
XYZxyz(78.5728, 92.9012, 23.6883)
Luminance0.9290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE5B #5B5CFF
analogous
#FFAC5B #FFFE5B #AEFF5B
triadic
#FFFE5B #5BFFFE #FE5BFF
tetradic
#FFFE5B #5BFFAC #5B5CFF #FF5BAE
square
#FFFE5B #5BFFAC #5B5CFF #FF5BAE
split-complementary
#FFFE5B #5BAEFF #AC5BFF
monochromatic
#E0DE00 #FFFE1E #FFFE5B #FFFE98 #FFFFD5

Accessibility & contrast

On white

1.07
#FFFE5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.58
#FFFE5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFE5B
19.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFE5B#FFFFFF#000000##000000
##FFFE5B1.001.0719.5819.58
#FFFFFF1.071.0021.0021.00
#00000019.5821.001.001.00
##00000019.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF444
Deuteranopia (green-blind)
#FFF966
Tritanopia (blue-blind)
#FFEFDD
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fffe5b;
/* rgb */ color: rgb(255, 254, 91);
/* oklch */ color: oklch(96.9% 0.178 109.0);
Tailwind
colors: {
  custom: {
    50: '#fffe91',
    500: '#fffe5b',
    950: '#000000',
  },
}
SCSS
$custom: #fffe5b;
$custom-light: #fffe91;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe5b",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 91
  },
  "hsl": {
    "h": 59.634,
    "s": 100,
    "l": 67.843
  },
  "oklch": {
    "l": 0.96934,
    "c": 0.17828,
    "h": 109
  },
  "luminance": 0.92899
}

Semantic roles & 50–950 ramp

primary
#FFFE5B
secondary
#2627D8
accent
#01E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FFFE5B

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

Preview Lab → · Contrast checker → · Palette generator →

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