#FEF3BB#FEF3BB

#FEF3BB is a very light, moderate yellow. Relative luminance 0.888; OKLCH L 95.9% C 0.073 H 98.3°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#FEF3BB
RGBrgb(254, 243, 187)
HSLhsl(50, 97%, 86%)
HSVhsv(50, 26%, 100%)
CMYKcmyk(0%, 4.3%, 26.4%, 0.4%)
CIE-LABlab(95.48, -4.74, 28.40)
CIE-LCHlch(95.48, 28.79, 99.47°)
OKLaboklab(95.94% -0.0104 0.0718)
OKLCHoklch(95.94% 0.073 98.3)
XYZxyz(81.8936, 88.7616, 59.8227)
Luminance0.8876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF3BB #BBC6FE
analogous
#FED2BB #FEF3BB #E8FEBB
triadic
#FEF3BB #BBFEF3 #F3BBFE
tetradic
#FEF3BB #BBFED2 #BBC6FE #FEBBE8
square
#FEF3BB #BBFED2 #BBC6FE #FEBBE8
split-complementary
#FEF3BB #BBE8FE #D2BBFE
monochromatic
#FCDE42 #FDE87F #FEF3BB #FFFAE1 #FFFAE1

Accessibility & contrast

On white

1.12
#FEF3BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.75
#FEF3BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF3BB
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF3BB#FFFFFF#000000##000000
##FEF3BB1.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF0B7
Deuteranopia (green-blind)
#FFF4BD
Tritanopia (blue-blind)
#FFEBE4
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef3bb;
/* rgb */ color: rgb(254, 243, 187);
/* oklch */ color: oklch(95.9% 0.073 98.3);
Tailwind
colors: {
  custom: {
    50: '#fff7cf',
    500: '#fef3bb',
    950: '#000000',
  },
}
SCSS
$custom: #fef3bb;
$custom-light: #fff7cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fef3bb",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 187
  },
  "hsl": {
    "h": 50.149,
    "s": 97.101,
    "l": 86.471
  },
  "oklch": {
    "l": 0.95939,
    "c": 0.07255,
    "h": 98.3
  },
  "luminance": 0.8876
}

Semantic roles & 50–950 ramp

primary
#FEF3BB
secondary
#788AE5
accent
#26E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF3BB

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

Preview Lab → · Contrast checker → · Palette generator →

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