#FFFEC2#FFFEC2

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

Color values

HEX#FFFEC2
RGBrgb(255, 254, 194)
HSLhsl(59, 100%, 88%)
HSVhsv(59, 24%, 100%)
CMYKcmyk(0%, 0.4%, 23.9%, 0%)
CIE-LABlab(98.45, -8.92, 28.91)
CIE-LCHlch(98.45, 30.26, 107.15°)
OKLaboklab(98.35% -0.0223 0.0731)
OKLCHoklch(98.35% 0.076 106.9)
XYZxyz(86.4193, 96.0399, 65.0135)
Luminance0.9604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEC2 #C2C3FF
analogous
#FFDFC2 #FFFEC2 #E1FFC2
triadic
#FFFEC2 #C2FFFE #FEC2FF
tetradic
#FFFEC2 #C2FFDF #C2C3FF #FFC2E1
square
#FFFEC2 #C2FFDF #C2C3FF #FFC2E1
split-complementary
#FFFEC2 #C2E1FF #DFC2FF
monochromatic
#FFFC48 #FFFD85 #FFFEC2 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

20.21
#FFFEC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEC2
20.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEC2#FFFFFF#000000##000000
##FFFEC21.001.0420.2120.21
#FFFFFF1.041.0021.0021.00
#00000020.2121.001.001.00
##00000020.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9BE
Deuteranopia (green-blind)
#FFFCC4
Tritanopia (blue-blind)
#FFF6EE
Achromatopsia (no color)
#FBFBFB

Design tokens & code

CSS
--color: #fffec2;
/* rgb */ color: rgb(255, 254, 194);
/* oklch */ color: oklch(98.3% 0.076 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffed4',
    500: '#fffec2',
    950: '#000000',
  },
}
SCSS
$custom: #fffec2;
$custom-light: #fffed4;
$custom-dark: #000000;
JSON
{
  "hex": "#fffec2",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 194
  },
  "hsl": {
    "h": 59.016,
    "s": 100,
    "l": 88.039
  },
  "oklch": {
    "l": 0.98346,
    "c": 0.07644,
    "h": 106.9
  },
  "luminance": 0.96039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFEC2

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

Preview Lab → · Contrast checker → · Palette generator →

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