#FFFEC0#FFFEC0

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

Color values

HEX#FFFEC0
RGBrgb(255, 254, 192)
HSLhsl(59, 100%, 88%)
HSVhsv(59, 25%, 100%)
CMYKcmyk(0%, 0.4%, 24.7%, 0%)
CIE-LABlab(98.41, -9.19, 29.87)
CIE-LCHlch(98.41, 31.25, 107.09°)
OKLaboklab(98.31% -0.023 0.0754)
OKLCHoklch(98.31% 0.079 107)
XYZxyz(86.1962, 95.9506, 63.8385)
Luminance0.9595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFEC0 #C0C1FF
analogous
#FFDFC0 #FFFEC0 #E0FFC0
triadic
#FFFEC0 #C0FFFE #FEC0FF
tetradic
#FFFEC0 #C0FFDF #C0C1FF #FFC0E0
square
#FFFEC0 #C0FFDF #C0C1FF #FFC0E0
split-complementary
#FFFEC0 #C0E0FF #DFC0FF
monochromatic
#FFFC46 #FFFD83 #FFFEC0 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

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

On black

20.19
#FFFEC0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFEC0
20.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFEC0#FFFFFF#000000##000000
##FFFEC01.001.0420.1920.19
#FFFFFF1.041.0021.0021.00
#00000020.1921.001.001.00
##00000020.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF9BC
Deuteranopia (green-blind)
#FFFCC2
Tritanopia (blue-blind)
#FFF6ED
Achromatopsia (no color)
#FAFAFA

Design tokens & code

CSS
--color: #fffec0;
/* rgb */ color: rgb(255, 254, 192);
/* oklch */ color: oklch(98.3% 0.079 107.0);
Tailwind
colors: {
  custom: {
    50: '#fffed3',
    500: '#fffec0',
    950: '#000000',
  },
}
SCSS
$custom: #fffec0;
$custom-light: #fffed3;
$custom-dark: #000000;
JSON
{
  "hex": "#fffec0",
  "rgb": {
    "r": 255,
    "g": 254,
    "b": 192
  },
  "hsl": {
    "h": 59.048,
    "s": 100,
    "l": 87.647
  },
  "oklch": {
    "l": 0.98306,
    "c": 0.07886,
    "h": 107
  },
  "luminance": 0.95949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FFFEC0

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

Preview Lab → · Contrast checker → · Palette generator →

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