#FEF4CA#FEF4CA

#FEF4CA is a very light, muted yellow. Relative luminance 0.900; OKLCH L 96.5% C 0.055 H 96.2°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#FEF4CA
RGBrgb(254, 244, 202)
HSLhsl(48, 96%, 89%)
HSVhsv(48, 20%, 100%)
CMYKcmyk(0%, 3.9%, 20.5%, 0.4%)
CIE-LABlab(96.01, -3.21, 21.48)
CIE-LCHlch(96.01, 21.72, 98.49°)
OKLaboklab(96.45% -0.0059 0.055)
OKLCHoklch(96.45% 0.055 96.2)
XYZxyz(83.8841, 90.0379, 68.8258)
Luminance0.9004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF4CA #CAD4FE
analogous
#FEDACA #FEF4CA #EEFECA
triadic
#FEF4CA #CAFEF4 #F4CAFE
tetradic
#FEF4CA #CAFEDA #CAD4FE #FECAEE
square
#FEF4CA #CAFEDA #CAD4FE #FECAEE
split-complementary
#FEF4CA #CAEEFE #DACAFE
monochromatic
#FCDB52 #FDE88E #FEF4CA #FEF9E1 #FEF9E1

Accessibility & contrast

On white

1.10
#FEF4CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.01
#FEF4CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF4CA
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF4CA#FFFFFF#000000##000000
##FEF4CA1.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDF1C7
Deuteranopia (green-blind)
#FFF5CB
Tritanopia (blue-blind)
#FFEEE8
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef4ca;
/* rgb */ color: rgb(254, 244, 202);
/* oklch */ color: oklch(96.5% 0.055 96.2);
Tailwind
colors: {
  custom: {
    50: '#fff7da',
    500: '#fef4ca',
    950: '#000000',
  },
}
SCSS
$custom: #fef4ca;
$custom-light: #fff7da;
$custom-dark: #000000;
JSON
{
  "hex": "#fef4ca",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 202
  },
  "hsl": {
    "h": 48.462,
    "s": 96.296,
    "l": 89.412
  },
  "oklch": {
    "l": 0.96452,
    "c": 0.05535,
    "h": 96.2
  },
  "luminance": 0.90036
}

Semantic roles & 50–950 ramp

primary
#FEF4CA
secondary
#8598E7
accent
#2CE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF4CA

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

Preview Lab → · Contrast checker → · Palette generator →

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