#FFFE8B#FFFE8B

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

Color values

HEX#FFFE8B
RGBrgb(255, 254, 139)
HSLhsl(59, 100%, 77%)
HSVhsv(59, 45%, 100%)
CMYKcmyk(0%, 0.4%, 45.5%, 0%)
CIE-LABlab(97.64, -15.10, 54.77)
CIE-LCHlch(97.64, 56.81, 105.41°)
OKLaboklab(97.44% -0.0431 0.1308)
OKLCHoklch(97.44% 0.138 108.3)
XYZxyz(81.3437, 94.0096, 38.2818)
Luminance0.9401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFE8B #8B8CFF
analogous
#FFC48B #FFFE8B #C6FF8B
triadic
#FFFE8B #8BFFFE #FE8BFF
tetradic
#FFFE8B #8BFFC4 #8B8CFF #FF8BC6
square
#FFFE8B #8BFFC4 #8B8CFF #FF8BC6
split-complementary
#FFFE8B #8BC6FF #C48BFF
monochromatic
#FFFD11 #FFFD4E #FFFE8B #FFFFC8 #FFFFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFFE8B#FFFFFF#000000##000000
##FFFE8B1.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)
#FFF681
Deuteranopia (green-blind)
#FFFA90
Tritanopia (blue-blind)
#FFF1E3
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #fffe8b;
/* rgb */ color: rgb(255, 254, 139);
/* oklch */ color: oklch(97.4% 0.138 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffeaf',
    500: '#fffe8b',
    950: '#000000',
  },
}
SCSS
$custom: #fffe8b;
$custom-light: #fffeaf;
$custom-dark: #000000;
JSON
{
  "hex": "#fffe8b",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 139
  },
  "hsl": {
    "h": 59.483,
    "s": 100,
    "l": 77.255
  },
  "oklch": {
    "l": 0.97436,
    "c": 0.1377,
    "h": 108.3
  },
  "luminance": 0.94008
}

Semantic roles & 50–950 ramp

primary
#FFFE8B
secondary
#4E50E0
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FFFE8B

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

Preview Lab → · Contrast checker → · Palette generator →

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