#FEF1BE#FEF1BE

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

Color values

HEX#FEF1BE
RGBrgb(254, 241, 190)
HSLhsl(48, 97%, 87%)
HSVhsv(48, 25%, 100%)
CMYKcmyk(0%, 5.1%, 25.2%, 0.4%)
CIE-LABlab(95.03, -3.34, 26.27)
CIE-LCHlch(95.03, 26.48, 97.25°)
OKLaboklab(95.6% -0.0064 0.0667)
OKLCHoklch(95.6% 0.067 95.5)
XYZxyz(81.6229, 87.7009, 61.3334)
Luminance0.8770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF1BE #BECBFE
analogous
#FED1BE #FEF1BE #EBFEBE
triadic
#FEF1BE #BEFEF1 #F1BEFE
tetradic
#FEF1BE #BEFED1 #BECBFE #FEBEEB
square
#FEF1BE #BEFED1 #BECBFE #FEBEEB
split-complementary
#FEF1BE #BEEBFE #D1BEFE
monochromatic
#FCD745 #FDE482 #FEF1BE #FFF9E1 #FFF9E1

Accessibility & contrast

On white

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

On black

18.54
#FEF1BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF1BE
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF1BE#FFFFFF#000000##000000
##FEF1BE1.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef1be;
/* rgb */ color: rgb(254, 241, 190);
/* oklch */ color: oklch(95.6% 0.067 95.5);
Tailwind
colors: {
  custom: {
    50: '#fff5d1',
    500: '#fef1be',
    950: '#000000',
  },
}
SCSS
$custom: #fef1be;
$custom-light: #fff5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef1be",
  "rgb": {
    "r": 254,
    "g": 241,
    "b": 190
  },
  "hsl": {
    "h": 47.812,
    "s": 96.97,
    "l": 87.059
  },
  "oklch": {
    "l": 0.95605,
    "c": 0.06696,
    "h": 95.5
  },
  "luminance": 0.87699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF1BE

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

Preview Lab → · Contrast checker → · Palette generator →

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