#FEF3C8#FEF3C8

#FEF3C8 is a very light, muted yellow. Relative luminance 0.893; OKLCH L 96.2% C 0.057 H 95.3°. Best body text is #000000 at 18.87:1 contrast (WCAG AA passes).

Color values

HEX#FEF3C8
RGBrgb(254, 243, 200)
HSLhsl(48, 96%, 89%)
HSVhsv(48, 21%, 100%)
CMYKcmyk(0%, 4.3%, 21.3%, 0.4%)
CIE-LABlab(95.72, -2.99, 22.10)
CIE-LCHlch(95.72, 22.31, 97.69°)
OKLaboklab(96.21% -0.0053 0.0566)
OKLCHoklch(96.21% 0.057 95.3)
XYZxyz(83.3488, 89.3436, 67.4867)
Luminance0.8934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF3C8 #C8D3FE
analogous
#FED8C8 #FEF3C8 #EEFEC8
triadic
#FEF3C8 #C8FEF3 #F3C8FE
tetradic
#FEF3C8 #C8FED8 #C8D3FE #FEC8EE
square
#FEF3C8 #C8FED8 #C8D3FE #FEC8EE
split-complementary
#FEF3C8 #C8EEFE #D8C8FE
monochromatic
#FCD950 #FDE68C #FEF3C8 #FEF8E1 #FEF8E1

Accessibility & contrast

On white

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

On black

18.87
#FEF3C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF3C8
18.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF3C8#FFFFFF#000000##000000
##FEF3C81.001.1118.8718.87
#FFFFFF1.111.0021.0021.00
#00000018.8721.001.001.00
##00000018.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCF1C5
Deuteranopia (green-blind)
#FFF4C9
Tritanopia (blue-blind)
#FFECE7
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef3c8;
/* rgb */ color: rgb(254, 243, 200);
/* oklch */ color: oklch(96.2% 0.057 95.3);
Tailwind
colors: {
  custom: {
    50: '#fff7d8',
    500: '#fef3c8',
    950: '#000000',
  },
}
SCSS
$custom: #fef3c8;
$custom-light: #fff7d8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef3c8",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 200
  },
  "hsl": {
    "h": 47.778,
    "s": 96.429,
    "l": 89.02
  },
  "oklch": {
    "l": 0.96211,
    "c": 0.05681,
    "h": 95.3
  },
  "luminance": 0.89342
}

Semantic roles & 50–950 ramp

primary
#FEF3C8
secondary
#8398E7
accent
#2FE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF3C8

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

Preview Lab → · Contrast checker → · Palette generator →

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