#FEF3CD#FEF3CD

#FEF3CD is a very light, muted yellow. Relative luminance 0.896; OKLCH L 96.3% C 0.051 H 93.7°. Best body text is #000000 at 18.92:1 contrast (WCAG AA passes).

Color values

HEX#FEF3CD
RGBrgb(254, 243, 205)
HSLhsl(47, 96%, 90%)
HSVhsv(47, 19%, 100%)
CMYKcmyk(0%, 4.3%, 19.3%, 0.4%)
CIE-LABlab(95.82, -2.28, 19.68)
CIE-LCHlch(95.82, 19.81, 96.60°)
OKLaboklab(96.32% -0.0033 0.0506)
OKLCHoklch(96.32% 0.051 93.7)
XYZxyz(83.9427, 89.5812, 70.6146)
Luminance0.8958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF3CD #CDD8FE
analogous
#FEDBCD #FEF3CD #F0FECD
triadic
#FEF3CD #CDFEF3 #F3CDFE
tetradic
#FEF3CD #CDFEDB #CDD8FE #FECDF0
square
#FEF3CD #CDFEDB #CDD8FE #FECDF0
split-complementary
#FEF3CD #CDF0FE #DBCDFE
monochromatic
#FCD655 #FDE591 #FEF3CD #FEF8E1 #FEF8E1

Accessibility & contrast

On white

1.11
#FEF3CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.92
#FEF3CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF3CD
18.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF3CD#FFFFFF#000000##000000
##FEF3CD1.001.1118.9218.92
#FFFFFF1.111.0021.0021.00
#00000018.9221.001.001.00
##00000018.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF1CB
Deuteranopia (green-blind)
#FFF5CE
Tritanopia (blue-blind)
#FFEDE8
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef3cd;
/* rgb */ color: rgb(254, 243, 205);
/* oklch */ color: oklch(96.3% 0.051 93.7);
Tailwind
colors: {
  custom: {
    50: '#fff7dc',
    500: '#fef3cd',
    950: '#000000',
  },
}
SCSS
$custom: #fef3cd;
$custom-light: #fff7dc;
$custom-dark: #000000;
JSON
{
  "hex": "#fef3cd",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 205
  },
  "hsl": {
    "h": 46.531,
    "s": 96.078,
    "l": 90
  },
  "oklch": {
    "l": 0.96322,
    "c": 0.05069,
    "h": 93.7
  },
  "luminance": 0.8958
}

Semantic roles & 50–950 ramp

primary
#FEF3CD
secondary
#889DE8
accent
#34E600
background
#FFFFFE
surface
#FFFEFC
border
#D7D6D5
text
#181715
muted
#868584

Preview Lab

Preview with #FEF3CD

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

Preview Lab → · Contrast checker → · Palette generator →

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