#FEF5BD#FEF5BD

#FEF5BD is a very light, moderate yellow. Relative luminance 0.900; OKLCH L 96.4% C 0.072 H 100.0°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).

Color values

HEX#FEF5BD
RGBrgb(254, 245, 189)
HSLhsl(52, 97%, 87%)
HSVhsv(52, 26%, 100%)
CMYKcmyk(0%, 3.5%, 25.6%, 0.4%)
CIE-LABlab(96.02, -5.48, 28.12)
CIE-LCHlch(96.02, 28.65, 101.02°)
OKLaboklab(96.38% -0.0125 0.0711)
OKLCHoklch(96.38% 0.072 100)
XYZxyz(82.7110, 90.0514, 61.1588)
Luminance0.9005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF5BD #BDC6FE
analogous
#FED5BD #FEF5BD #E7FEBD
triadic
#FEF5BD #BDFEF5 #F5BDFE
tetradic
#FEF5BD #BDFED5 #BDC6FE #FEBDE7
square
#FEF5BD #BDFED5 #BDC6FE #FEBDE7
split-complementary
#FEF5BD #BDE7FE #D5BDFE
monochromatic
#FCE344 #FDEC81 #FEF5BD #FFFAE1 #FFFAE1

Accessibility & contrast

On white

1.10
#FEF5BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.01
#FEF5BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF5BD
19.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF5BD#FFFFFF#000000##000000
##FEF5BD1.001.1019.0119.01
#FFFFFF1.101.0021.0021.00
#00000019.0121.001.001.00
##00000019.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF1B9
Deuteranopia (green-blind)
#FFF5BF
Tritanopia (blue-blind)
#FFEDE6
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef5bd;
/* rgb */ color: rgb(254, 245, 189);
/* oklch */ color: oklch(96.4% 0.072 100.0);
Tailwind
colors: {
  custom: {
    50: '#fff8d1',
    500: '#fef5bd',
    950: '#000000',
  },
}
SCSS
$custom: #fef5bd;
$custom-light: #fff8d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef5bd",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 189
  },
  "hsl": {
    "h": 51.692,
    "s": 97.015,
    "l": 86.863
  },
  "oklch": {
    "l": 0.96376,
    "c": 0.07223,
    "h": 100
  },
  "luminance": 0.9005
}

Semantic roles & 50–950 ramp

primary
#FEF5BD
secondary
#7A89E6
accent
#20E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF5BD

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

Preview Lab → · Contrast checker → · Palette generator →

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