#FEF8BE#FEF8BE

#FEF8BE is a very light, moderate yellow. Relative luminance 0.919; OKLCH L 97.0% C 0.074 H 102.7°. Best body text is #000000 at 19.38:1 contrast (WCAG AA passes).

Color values

HEX#FEF8BE
RGBrgb(254, 248, 190)
HSLhsl(54, 97%, 87%)
HSVhsv(54, 25%, 100%)
CMYKcmyk(0%, 2.4%, 25.2%, 0.4%)
CIE-LABlab(96.79, -6.84, 28.66)
CIE-LCHlch(96.79, 29.47, 103.43°)
OKLaboklab(96.99% -0.0164 0.0725)
OKLCHoklch(96.99% 0.074 102.7)
XYZxyz(83.7348, 91.9248, 62.0374)
Luminance0.9192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF8BE #BEC4FE
analogous
#FED8BE #FEF8BE #E4FEBE
triadic
#FEF8BE #BEFEF8 #F8BEFE
tetradic
#FEF8BE #BEFED8 #BEC4FE #FEBEE4
square
#FEF8BE #BEFED8 #BEC4FE #FEBEE4
split-complementary
#FEF8BE #BEE4FE #D8BEFE
monochromatic
#FCEB45 #FDF282 #FEF8BE #FFFCE1 #FFFCE1

Accessibility & contrast

On white

1.08
#FEF8BE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.38
#FEF8BE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF8BE
19.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF8BE#FFFFFF#000000##000000
##FEF8BE1.001.0819.3819.38
#FFFFFF1.081.0021.0021.00
#00000019.3821.001.001.00
##00000019.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4BA
Deuteranopia (green-blind)
#FFF7C0
Tritanopia (blue-blind)
#FFF0E8
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fef8be;
/* rgb */ color: rgb(254, 248, 190);
/* oklch */ color: oklch(97.0% 0.074 102.7);
Tailwind
colors: {
  custom: {
    50: '#fffad2',
    500: '#fef8be',
    950: '#000000',
  },
}
SCSS
$custom: #fef8be;
$custom-light: #fffad2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef8be",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 190
  },
  "hsl": {
    "h": 54.375,
    "s": 96.97,
    "l": 87.059
  },
  "oklch": {
    "l": 0.96992,
    "c": 0.0743,
    "h": 102.7
  },
  "luminance": 0.91923
}

Semantic roles & 50–950 ramp

primary
#FEF8BE
secondary
#7B85E6
accent
#16E600
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF8BE

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

Preview Lab → · Contrast checker → · Palette generator →

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