#FFFEC3#FFFEC3

#FFFEC3 is a very light, moderate yellow. Relative luminance 0.961; OKLCH L 98.4% C 0.075 H 106.9°. Best body text is #000000 at 20.22:1 contrast (WCAG AA passes).

Color values

HEX#FFFEC3
RGBrgb(255, 254, 195)
HSLhsl(59, 100%, 88%)
HSVhsv(59, 24%, 100%)
CMYKcmyk(0%, 0.4%, 23.5%, 0%)
CIE-LABlab(98.47, -8.79, 28.43)
CIE-LCHlch(98.47, 29.76, 107.18°)
OKLaboklab(98.37% -0.0219 0.072)
OKLCHoklch(98.37% 0.075 106.9)
XYZxyz(86.5320, 96.0849, 65.6070)
Luminance0.9608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEC3 #C3C4FF
analogous
#FFE0C3 #FFFEC3 #E2FFC3
triadic
#FFFEC3 #C3FFFE #FEC3FF
tetradic
#FFFEC3 #C3FFE0 #C3C4FF #FFC3E2
square
#FFFEC3 #C3FFE0 #C3C4FF #FFC3E2
split-complementary
#FFFEC3 #C3E2FF #E0C3FF
monochromatic
#FFFC49 #FFFD86 #FFFEC3 #FFFEE0 #FFFEE0

Accessibility & contrast

On white

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

On black

20.22
#FFFEC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEC3
20.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEC3#FFFFFF#000000##000000
##FFFEC31.001.0420.2220.22
#FFFFFF1.041.0021.0021.00
#00000020.2221.001.001.00
##00000020.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffec3;
/* rgb */ color: rgb(255, 254, 195);
/* oklch */ color: oklch(98.4% 0.075 106.9);
Tailwind
colors: {
  custom: {
    50: '#fffed5',
    500: '#fffec3',
    950: '#000000',
  },
}
SCSS
$custom: #fffec3;
$custom-light: #fffed5;
$custom-dark: #000000;
JSON
{
  "hex": "#fffec3",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 195
  },
  "hsl": {
    "h": 59,
    "s": 100,
    "l": 88.235
  },
  "oklch": {
    "l": 0.98366,
    "c": 0.07523,
    "h": 106.9
  },
  "luminance": 0.96084
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFEC3

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

Preview Lab → · Contrast checker → · Palette generator →

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