#FFFEC5#FFFEC5

#FFFEC5 is a very light, moderate yellow. Relative luminance 0.962; OKLCH L 98.4% C 0.073 H 106.8°. Best body text is #000000 at 20.23:1 contrast (WCAG AA passes).

Color values

HEX#FFFEC5
RGBrgb(255, 254, 197)
HSLhsl(59, 100%, 89%)
HSVhsv(59, 23%, 100%)
CMYKcmyk(0%, 0.4%, 22.7%, 0%)
CIE-LABlab(98.50, -8.52, 27.47)
CIE-LCHlch(98.50, 28.76, 107.23°)
OKLaboklab(98.41% -0.0211 0.0697)
OKLCHoklch(98.41% 0.073 106.8)
XYZxyz(86.7596, 96.1760, 66.8059)
Luminance0.9617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEC5 #C5C6FF
analogous
#FFE1C5 #FFFEC5 #E3FFC5
triadic
#FFFEC5 #C5FFFE #FEC5FF
tetradic
#FFFEC5 #C5FFE1 #C5C6FF #FFC5E3
square
#FFFEC5 #C5FFE1 #C5C6FF #FFC5E3
split-complementary
#FFFEC5 #C5E3FF #E1C5FF
monochromatic
#FFFC4B #FFFD88 #FFFEC5 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

1.04
#FFFEC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.23
#FFFEC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEC5
20.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEC5#FFFFFF#000000##000000
##FFFEC51.001.0420.2320.23
#FFFFFF1.041.0021.0021.00
#00000020.2321.001.001.00
##00000020.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9C1
Deuteranopia (green-blind)
#FFFCC7
Tritanopia (blue-blind)
#FFF7EF
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #fffec5;
/* rgb */ color: rgb(255, 254, 197);
/* oklch */ color: oklch(98.4% 0.073 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffed6',
    500: '#fffec5',
    950: '#000000',
  },
}
SCSS
$custom: #fffec5;
$custom-light: #fffed6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffec5",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 197
  },
  "hsl": {
    "h": 58.966,
    "s": 100,
    "l": 88.627
  },
  "oklch": {
    "l": 0.98407,
    "c": 0.07279,
    "h": 106.8
  },
  "luminance": 0.96175
}

Semantic roles & 50–950 ramp

primary
#FFFEC5
secondary
#8081E9
accent
#04E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFFEC5

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

Preview Lab → · Contrast checker → · Palette generator →

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