#FEF1BF#FEF1BF

#FEF1BF is a very light, moderate yellow. Relative luminance 0.877; OKLCH L 95.6% C 0.066 H 95.2°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#FEF1BF
RGBrgb(254, 241, 191)
HSLhsl(48, 97%, 87%)
HSVhsv(48, 25%, 100%)
CMYKcmyk(0%, 5.1%, 24.8%, 0.4%)
CIE-LABlab(95.05, -3.21, 25.78)
CIE-LCHlch(95.05, 25.98, 97.10°)
OKLaboklab(95.63% -0.006 0.0655)
OKLCHoklch(95.63% 0.066 95.2)
XYZxyz(81.7325, 87.7447, 61.9110)
Luminance0.8774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF1BF #BFCCFE
analogous
#FED2BF #FEF1BF #ECFEBF
triadic
#FEF1BF #BFFEF1 #F1BFFE
tetradic
#FEF1BF #BFFED2 #BFCCFE #FEBFEC
square
#FEF1BF #BFFED2 #BFCCFE #FEBFEC
split-complementary
#FEF1BF #BFECFE #D2BFFE
monochromatic
#FCD746 #FDE483 #FEF1BF #FFF8E1 #FFF8E1

Accessibility & contrast

On white

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

On black

18.55
#FEF1BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF1BF
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF1BF#FFFFFF#000000##000000
##FEF1BF1.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCEEBC
Deuteranopia (green-blind)
#FFF3C1
Tritanopia (blue-blind)
#FFE9E3
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef1bf;
/* rgb */ color: rgb(254, 241, 191);
/* oklch */ color: oklch(95.6% 0.066 95.2);
Tailwind
colors: {
  custom: {
    50: '#fff5d2',
    500: '#fef1bf',
    950: '#000000',
  },
}
SCSS
$custom: #fef1bf;
$custom-light: #fff5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef1bf",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 191
  },
  "hsl": {
    "h": 47.619,
    "s": 96.923,
    "l": 87.255
  },
  "oklch": {
    "l": 0.95626,
    "c": 0.06576,
    "h": 95.2
  },
  "luminance": 0.87743
}

Semantic roles & 50–950 ramp

primary
#FEF1BF
secondary
#7B91E6
accent
#2FE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF1BF

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

Preview Lab → · Contrast checker → · Palette generator →

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