#FEF5BB#FEF5BB

#FEF5BB is a very light, moderate yellow. Relative luminance 0.900; OKLCH L 96.3% C 0.075 H 100.3°. Best body text is #000000 at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#FEF5BB
RGBrgb(254, 245, 187)
HSLhsl(52, 97%, 86%)
HSVhsv(52, 26%, 100%)
CMYKcmyk(0%, 3.5%, 26.4%, 0.4%)
CIE-LABlab(95.98, -5.74, 29.08)
CIE-LCHlch(95.98, 29.64, 101.16°)
OKLaboklab(96.34% -0.0133 0.0734)
OKLCHoklch(96.34% 0.075 100.3)
XYZxyz(82.4954, 89.9651, 60.0233)
Luminance0.8996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF5BB #BBC4FE
analogous
#FED4BB #FEF5BB #E6FEBB
triadic
#FEF5BB #BBFEF5 #F5BBFE
tetradic
#FEF5BB #BBFED4 #BBC4FE #FEBBE6
square
#FEF5BB #BBFED4 #BBC4FE #FEBBE6
split-complementary
#FEF5BB #BBE6FE #D4BBFE
monochromatic
#FCE342 #FDEC7F #FEF5BB #FFFBE1 #FFFBE1

Accessibility & contrast

On white

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

On black

18.99
#FEF5BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF5BB
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF5BB#FFFFFF#000000##000000
##FEF5BB1.001.1118.9918.99
#FFFFFF1.111.0021.0021.00
#00000018.9921.001.001.00
##00000018.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1B7
Deuteranopia (green-blind)
#FFF5BD
Tritanopia (blue-blind)
#FFEDE5
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef5bb;
/* rgb */ color: rgb(254, 245, 187);
/* oklch */ color: oklch(96.3% 0.075 100.3);
Tailwind
colors: {
  custom: {
    50: '#fff8cf',
    500: '#fef5bb',
    950: '#000000',
  },
}
SCSS
$custom: #fef5bb;
$custom-light: #fff8cf;
$custom-dark: #000000;
JSON
{
  "hex": "#fef5bb",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 187
  },
  "hsl": {
    "h": 51.94,
    "s": 97.101,
    "l": 86.471
  },
  "oklch": {
    "l": 0.96336,
    "c": 0.07463,
    "h": 100.3
  },
  "luminance": 0.89964
}

Semantic roles & 50–950 ramp

primary
#FEF5BB
secondary
#7887E5
accent
#1FE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF5BB

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

Preview Lab → · Contrast checker → · Palette generator →

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