#FEF6DC#FEF6DC

#FEF6DC is a very light, muted yellow. Relative luminance 0.921; OKLCH L 97.3% C 0.035 H 92.8°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#FEF6DC
RGBrgb(254, 246, 220)
HSLhsl(46, 94%, 93%)
HSVhsv(46, 13%, 100%)
CMYKcmyk(0%, 3.1%, 13.4%, 0.4%)
CIE-LABlab(96.88, -1.56, 13.47)
CIE-LCHlch(96.88, 13.56, 96.61°)
OKLaboklab(97.26% -0.0017 0.035)
OKLCHoklch(97.26% 0.035 92.8)
XYZxyz(86.7460, 92.1507, 80.9134)
Luminance0.9215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF6DC #DCE4FE
analogous
#FEE5DC #FEF6DC #F5FEDC
triadic
#FEF6DC #DCFEF6 #F6DCFE
tetradic
#FEF6DC #DCFEE5 #DCE4FE #FEDCF5
square
#FEF6DC #DCFEE5 #DCE4FE #FEDCF5
split-complementary
#FEF6DC #DCF5FE #E5DCFE
monochromatic
#FBD765 #FCE7A0 #FEF6DC #FEF7E1 #FEF7E1

Accessibility & contrast

On white

1.08
#FEF6DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.43
#FEF6DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF6DC
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF6DC#FFFFFF#000000##000000
##FEF6DC1.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF5DA
Deuteranopia (green-blind)
#FEF7DD
Tritanopia (blue-blind)
#FFF2EF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fef6dc;
/* rgb */ color: rgb(254, 246, 220);
/* oklch */ color: oklch(97.3% 0.035 92.8);
Tailwind
colors: {
  custom: {
    50: '#fff9e6',
    500: '#fef6dc',
    950: '#000000',
  },
}
SCSS
$custom: #fef6dc;
$custom-light: #fff9e6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef6dc",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 220
  },
  "hsl": {
    "h": 45.882,
    "s": 94.444,
    "l": 92.941
  },
  "oklch": {
    "l": 0.97259,
    "c": 0.03504,
    "h": 92.8
  },
  "luminance": 0.9215
}

Semantic roles & 50–950 ramp

primary
#FEF6DC
secondary
#95A9E9
accent
#36E600
background
#FFFFFE
surface
#FFFFFC
border
#D7D7D5
text
#181716
muted
#868584

Preview Lab

Preview with #FEF6DC

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

Preview Lab → · Contrast checker → · Palette generator →

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