#FEF6CD#FEF6CD

#FEF6CD is a very light, muted yellow. Relative luminance 0.914; OKLCH L 96.9% C 0.054 H 98.1°. Best body text is #000000 at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#FEF6CD
RGBrgb(254, 246, 205)
HSLhsl(50, 96%, 90%)
HSVhsv(50, 19%, 100%)
CMYKcmyk(0%, 3.1%, 19.3%, 0.4%)
CIE-LABlab(96.57, -3.79, 20.72)
CIE-LCHlch(96.57, 21.07, 100.35°)
OKLaboklab(96.91% -0.0076 0.0532)
OKLCHoklch(96.91% 0.054 98.1)
XYZxyz(84.8478, 91.3914, 70.9163)
Luminance0.9139 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF6CD #CDD5FE
analogous
#FEDDCD #FEF6CD #EEFECD
triadic
#FEF6CD #CDFEF6 #F6CDFE
tetradic
#FEF6CD #CDFEDD #CDD5FE #FECDEE
square
#FEF6CD #CDFEDD #CDD5FE #FECDEE
split-complementary
#FEF6CD #CDEEFE #DDCDFE
monochromatic
#FCE055 #FDEB91 #FEF6CD #FEFAE1 #FEFAE1

Accessibility & contrast

On white

1.09
#FEF6CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.28
#FEF6CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF6CD
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF6CD#FFFFFF#000000##000000
##FEF6CD1.001.0919.2819.28
#FFFFFF1.091.0021.0021.00
#00000019.2821.001.001.00
##00000019.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3CB
Deuteranopia (green-blind)
#FFF7CE
Tritanopia (blue-blind)
#FFF0EB
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fef6cd;
/* rgb */ color: rgb(254, 246, 205);
/* oklch */ color: oklch(96.9% 0.054 98.1);
Tailwind
colors: {
  custom: {
    50: '#fff9dc',
    500: '#fef6cd',
    950: '#000000',
  },
}
SCSS
$custom: #fef6cd;
$custom-light: #fff9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef6cd",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 205
  },
  "hsl": {
    "h": 50.204,
    "s": 96.078,
    "l": 90
  },
  "oklch": {
    "l": 0.96912,
    "c": 0.05371,
    "h": 98.1
  },
  "luminance": 0.9139
}

Semantic roles & 50–950 ramp

primary
#FEF6CD
secondary
#8897E8
accent
#25E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF6CD

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

Preview Lab → · Contrast checker → · Palette generator →

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