#FEF2BE#FEF2BE

#FEF2BE is a very light, moderate yellow. Relative luminance 0.883; OKLCH L 95.8% C 0.068 H 96.6°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#FEF2BE
RGBrgb(254, 242, 190)
HSLhsl(49, 97%, 87%)
HSVhsv(49, 25%, 100%)
CMYKcmyk(0%, 4.7%, 25.2%, 0.4%)
CIE-LABlab(95.28, -3.84, 26.61)
CIE-LCHlch(95.28, 26.88, 98.22°)
OKLaboklab(95.8% -0.0078 0.0675)
OKLCHoklch(95.8% 0.068 96.6)
XYZxyz(81.9197, 88.2945, 61.4324)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF2BE #BECAFE
analogous
#FED2BE #FEF2BE #EAFEBE
triadic
#FEF2BE #BEFEF2 #F2BEFE
tetradic
#FEF2BE #BEFED2 #BECAFE #FEBEEA
square
#FEF2BE #BEFED2 #BECAFE #FEBEEA
split-complementary
#FEF2BE #BEEAFE #D2BEFE
monochromatic
#FCDA45 #FDE682 #FEF2BE #FFF9E1 #FFF9E1

Accessibility & contrast

On white

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

On black

18.66
#FEF2BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF2BE
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF2BE#FFFFFF#000000##000000
##FEF2BE1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef2be;
/* rgb */ color: rgb(254, 242, 190);
/* oklch */ color: oklch(95.8% 0.068 96.6);
Tailwind
colors: {
  custom: {
    50: '#fff6d1',
    500: '#fef2be',
    950: '#000000',
  },
}
SCSS
$custom: #fef2be;
$custom-light: #fff6d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef2be",
  "rgb": {
    "r": 254,
    "g": 242,
    "b": 190
  },
  "hsl": {
    "h": 48.75,
    "s": 96.97,
    "l": 87.059
  },
  "oklch": {
    "l": 0.95803,
    "c": 0.06794,
    "h": 96.6
  },
  "luminance": 0.88293
}

Semantic roles & 50–950 ramp

primary
#FEF2BE
secondary
#7B8FE6
accent
#2BE600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF2BE

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

Preview Lab → · Contrast checker → · Palette generator →

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