#FEF3BD#FEF3BD

#FEF3BD is a very light, moderate yellow. Relative luminance 0.888; OKLCH L 96.0% C 0.070 H 97.9°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#FEF3BD
RGBrgb(254, 243, 189)
HSLhsl(50, 97%, 87%)
HSVhsv(50, 26%, 100%)
CMYKcmyk(0%, 4.3%, 25.6%, 0.4%)
CIE-LABlab(95.52, -4.48, 27.43)
CIE-LCHlch(95.52, 27.80, 99.27°)
OKLaboklab(95.98% -0.0096 0.0695)
OKLCHoklch(95.98% 0.07 97.9)
XYZxyz(82.1092, 88.8478, 60.9582)
Luminance0.8885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF3BD #BDC8FE
analogous
#FED3BD #FEF3BD #E9FEBD
triadic
#FEF3BD #BDFEF3 #F3BDFE
tetradic
#FEF3BD #BDFED3 #BDC8FE #FEBDE9
square
#FEF3BD #BDFED3 #BDC8FE #FEBDE9
split-complementary
#FEF3BD #BDE9FE #D3BDFE
monochromatic
#FCDD44 #FDE881 #FEF3BD #FFFAE1 #FFFAE1

Accessibility & contrast

On white

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

On black

18.77
#FEF3BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF3BD
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF3BD#FFFFFF#000000##000000
##FEF3BD1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef3bd;
/* rgb */ color: rgb(254, 243, 189);
/* oklch */ color: oklch(96.0% 0.070 97.9);
Tailwind
colors: {
  custom: {
    50: '#fff7d1',
    500: '#fef3bd',
    950: '#000000',
  },
}
SCSS
$custom: #fef3bd;
$custom-light: #fff7d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef3bd",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 189
  },
  "hsl": {
    "h": 49.846,
    "s": 97.015,
    "l": 86.863
  },
  "oklch": {
    "l": 0.9598,
    "c": 0.07015,
    "h": 97.9
  },
  "luminance": 0.88846
}

Semantic roles & 50–950 ramp

primary
#FEF3BD
secondary
#7A8CE6
accent
#27E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF3BD

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

Preview Lab → · Contrast checker → · Palette generator →

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