#FEF1BB#FEF1BB

#FEF1BB is a very light, moderate yellow. Relative luminance 0.876; OKLCH L 95.5% C 0.071 H 96.1°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).

Color values

HEX#FEF1BB
RGBrgb(254, 241, 187)
HSLhsl(48, 97%, 86%)
HSVhsv(48, 26%, 100%)
CMYKcmyk(0%, 5.1%, 26.4%, 0.4%)
CIE-LABlab(94.98, -3.74, 27.72)
CIE-LCHlch(94.98, 27.97, 97.68°)
OKLaboklab(95.54% -0.0075 0.0702)
OKLCHoklch(95.54% 0.071 96.1)
XYZxyz(81.2984, 87.5711, 59.6243)
Luminance0.8757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF1BB #BBC8FE
analogous
#FED0BB #FEF1BB #EAFEBB
triadic
#FEF1BB #BBFEF1 #F1BBFE
tetradic
#FEF1BB #BBFED0 #BBC8FE #FEBBEA
square
#FEF1BB #BBFED0 #BBC8FE #FEBBEA
split-complementary
#FEF1BB #BBEAFE #D0BBFE
monochromatic
#FCD842 #FDE57F #FEF1BB #FFF9E1 #FFF9E1

Accessibility & contrast

On white

1.13
#FEF1BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.51
#FEF1BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF1BB
18.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF1BB#FFFFFF#000000##000000
##FEF1BB1.001.1318.5118.51
#FFFFFF1.131.0021.0021.00
#00000018.5121.001.001.00
##00000018.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEEB8
Deuteranopia (green-blind)
#FFF3BD
Tritanopia (blue-blind)
#FFE9E2
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef1bb;
/* rgb */ color: rgb(254, 241, 187);
/* oklch */ color: oklch(95.5% 0.071 96.1);
Tailwind
colors: {
  custom: {
    50: '#fff5cf',
    500: '#fef1bb',
    950: '#000000',
  },
}
SCSS
$custom: #fef1bb;
$custom-light: #fff5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fef1bb",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 187
  },
  "hsl": {
    "h": 48.358,
    "s": 97.101,
    "l": 86.471
  },
  "oklch": {
    "l": 0.95544,
    "c": 0.07055,
    "h": 96.1
  },
  "luminance": 0.87569
}

Semantic roles & 50–950 ramp

primary
#FEF1BB
secondary
#788DE5
accent
#2DE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF1BB

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

Preview Lab → · Contrast checker → · Palette generator →

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