#FEF4BD#FEF4BD

#FEF4BD is a very light, moderate yellow. Relative luminance 0.894; OKLCH L 96.2% C 0.071 H 98.9°. Best body text is #000000 at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#FEF4BD
RGBrgb(254, 244, 189)
HSLhsl(51, 97%, 87%)
HSVhsv(51, 26%, 100%)
CMYKcmyk(0%, 3.9%, 25.6%, 0.4%)
CIE-LABlab(95.77, -4.98, 27.78)
CIE-LCHlch(95.77, 28.22, 100.16°)
OKLaboklab(96.18% -0.0111 0.0703)
OKLCHoklch(96.18% 0.071 98.9)
XYZxyz(82.4093, 89.4479, 61.0582)
Luminance0.8945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF4BD #BDC7FE
analogous
#FED4BD #FEF4BD #E8FEBD
triadic
#FEF4BD #BDFEF4 #F4BDFE
tetradic
#FEF4BD #BDFED4 #BDC7FE #FEBDE8
square
#FEF4BD #BDFED4 #BDC7FE #FEBDE8
split-complementary
#FEF4BD #BDE8FE #D4BDFE
monochromatic
#FCE044 #FDEA81 #FEF4BD #FFFAE1 #FFFAE1

Accessibility & contrast

On white

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

On black

18.89
#FEF4BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF4BD
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF4BD#FFFFFF#000000##000000
##FEF4BD1.001.1118.8918.89
#FFFFFF1.111.0021.0021.00
#00000018.8921.001.001.00
##00000018.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF0B9
Deuteranopia (green-blind)
#FFF5BF
Tritanopia (blue-blind)
#FFECE5
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef4bd;
/* rgb */ color: rgb(254, 244, 189);
/* oklch */ color: oklch(96.2% 0.071 98.9);
Tailwind
colors: {
  custom: {
    50: '#fff7d1',
    500: '#fef4bd',
    950: '#000000',
  },
}
SCSS
$custom: #fef4bd;
$custom-light: #fff7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef4bd",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 189
  },
  "hsl": {
    "h": 50.769,
    "s": 97.015,
    "l": 86.863
  },
  "oklch": {
    "l": 0.96178,
    "c": 0.07118,
    "h": 98.9
  },
  "luminance": 0.89446
}

Semantic roles & 50–950 ramp

primary
#FEF4BD
secondary
#7A8AE6
accent
#23E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF4BD

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

Preview Lab → · Contrast checker → · Palette generator →

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