#FEF3BF#FEF3BF

#FEF3BF is a very light, moderate yellow. Relative luminance 0.889; OKLCH L 96.0% C 0.068 H 97.5°. Best body text is #000000 at 18.79:1 contrast (WCAG AA passes).

Color values

HEX#FEF3BF
RGBrgb(254, 243, 191)
HSLhsl(50, 97%, 87%)
HSVhsv(50, 25%, 100%)
CMYKcmyk(0%, 4.3%, 24.8%, 0.4%)
CIE-LABlab(95.55, -4.21, 26.47)
CIE-LCHlch(95.55, 26.80, 99.04°)
OKLaboklab(96.02% -0.0088 0.0672)
OKLCHoklch(96.02% 0.068 97.5)
XYZxyz(82.3278, 88.9352, 62.1094)
Luminance0.8893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF3BF #BFCAFE
analogous
#FED4BF #FEF3BF #E9FEBF
triadic
#FEF3BF #BFFEF3 #F3BFFE
tetradic
#FEF3BF #BFFED4 #BFCAFE #FEBFE9
square
#FEF3BF #BFFED4 #BFCAFE #FEBFE9
split-complementary
#FEF3BF #BFE9FE #D4BFFE
monochromatic
#FCDC46 #FDE883 #FEF3BF #FFF9E1 #FFF9E1

Accessibility & contrast

On white

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

On black

18.79
#FEF3BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF3BF
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF3BF#FFFFFF#000000##000000
##FEF3BF1.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEF0BC
Deuteranopia (green-blind)
#FFF4C1
Tritanopia (blue-blind)
#FFEBE5
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #fef3bf;
/* rgb */ color: rgb(254, 243, 191);
/* oklch */ color: oklch(96.0% 0.068 97.5);
Tailwind
colors: {
  custom: {
    50: '#fff7d2',
    500: '#fef3bf',
    950: '#000000',
  },
}
SCSS
$custom: #fef3bf;
$custom-light: #fff7d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef3bf",
  "rgb": {
    "r": 254,
    "g": 243,
    "b": 191
  },
  "hsl": {
    "h": 49.524,
    "s": 96.923,
    "l": 87.255
  },
  "oklch": {
    "l": 0.96021,
    "c": 0.06774,
    "h": 97.5
  },
  "luminance": 0.88934
}

Semantic roles & 50–950 ramp

primary
#FEF3BF
secondary
#7B8EE6
accent
#28E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF3BF

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

Preview Lab → · Contrast checker → · Palette generator →

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