#FFFEC1#FFFEC1

#FFFEC1 is a very light, moderate yellow. Relative luminance 0.960; OKLCH L 98.3% C 0.078 H 107.0°. Best body text is #000000 at 20.20:1 contrast (WCAG AA passes).

Color values

HEX#FFFEC1
RGBrgb(255, 254, 193)
HSLhsl(59, 100%, 88%)
HSVhsv(59, 24%, 100%)
CMYKcmyk(0%, 0.4%, 24.3%, 0%)
CIE-LABlab(98.43, -9.05, 29.39)
CIE-LCHlch(98.43, 30.75, 107.12°)
OKLaboklab(98.33% -0.0226 0.0743)
OKLCHoklch(98.33% 0.078 107)
XYZxyz(86.3074, 95.9951, 64.4240)
Luminance0.9599 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEC1 #C1C2FF
analogous
#FFDFC1 #FFFEC1 #E1FFC1
triadic
#FFFEC1 #C1FFFE #FEC1FF
tetradic
#FFFEC1 #C1FFDF #C1C2FF #FFC1E1
square
#FFFEC1 #C1FFDF #C1C2FF #FFC1E1
split-complementary
#FFFEC1 #C1E1FF #DFC1FF
monochromatic
#FFFC47 #FFFD84 #FFFEC1 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.20
#FFFEC1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEC1
20.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEC1#FFFFFF#000000##000000
##FFFEC11.001.0420.2020.20
#FFFFFF1.041.0021.0021.00
#00000020.2021.001.001.00
##00000020.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9BD
Deuteranopia (green-blind)
#FFFCC3
Tritanopia (blue-blind)
#FFF6EE
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fffec1;
/* rgb */ color: rgb(255, 254, 193);
/* oklch */ color: oklch(98.3% 0.078 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffed4',
    500: '#fffec1',
    950: '#000000',
  },
}
SCSS
$custom: #fffec1;
$custom-light: #fffed4;
$custom-dark: #000000;
JSON
{
  "hex": "#fffec1",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 193
  },
  "hsl": {
    "h": 59.032,
    "s": 100,
    "l": 87.843
  },
  "oklch": {
    "l": 0.98326,
    "c": 0.07765,
    "h": 107
  },
  "luminance": 0.95994
}

Semantic roles & 50–950 ramp

primary
#FFFEC1
secondary
#7C7EE8
accent
#04E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FFFEC1

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

Preview Lab → · Contrast checker → · Palette generator →

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