#FEF0BD#FEF0BD

#FEF0BD is a very light, moderate yellow. Relative luminance 0.871; OKLCH L 95.4% C 0.067 H 94.5°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).

Color values

HEX#FEF0BD
RGBrgb(254, 240, 189)
HSLhsl(47, 97%, 87%)
HSVhsv(47, 26%, 100%)
CMYKcmyk(0%, 5.5%, 25.6%, 0.4%)
CIE-LABlab(94.77, -2.97, 26.41)
CIE-LCHlch(94.77, 26.57, 96.42°)
OKLaboklab(95.39% -0.0053 0.067)
OKLCHoklch(95.39% 0.067 94.5)
XYZxyz(81.2188, 87.0669, 60.6614)
Luminance0.8707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF0BD #BDCBFE
analogous
#FED0BD #FEF0BD #ECFEBD
triadic
#FEF0BD #BDFEF0 #F0BDFE
tetradic
#FEF0BD #BDFED0 #BDCBFE #FEBDEC
square
#FEF0BD #BDFED0 #BDCBFE #FEBDEC
split-complementary
#FEF0BD #BDECFE #D0BDFE
monochromatic
#FCD544 #FDE281 #FEF0BD #FFF8E1 #FFF8E1

Accessibility & contrast

On white

1.14
#FEF0BD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.41
#FEF0BD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF0BD
18.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF0BD#FFFFFF#000000##000000
##FEF0BD1.001.1418.4118.41
#FFFFFF1.141.0021.0021.00
#00000018.4121.001.001.00
##00000018.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBEDBA
Deuteranopia (green-blind)
#FFF2BF
Tritanopia (blue-blind)
#FFE8E2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef0bd;
/* rgb */ color: rgb(254, 240, 189);
/* oklch */ color: oklch(95.4% 0.067 94.5);
Tailwind
colors: {
  custom: {
    50: '#fff4d1',
    500: '#fef0bd',
    950: '#000000',
  },
}
SCSS
$custom: #fef0bd;
$custom-light: #fff4d1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef0bd",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 189
  },
  "hsl": {
    "h": 47.077,
    "s": 97.015,
    "l": 86.863
  },
  "oklch": {
    "l": 0.95388,
    "c": 0.06721,
    "h": 94.5
  },
  "luminance": 0.87065
}

Semantic roles & 50–950 ramp

primary
#FEF0BD
secondary
#7A91E6
accent
#31E600
background
#FFFFFE
surface
#FFFEFB
border
#D7D6D4
text
#181714
muted
#868583

Preview Lab

Preview with #FEF0BD

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

Preview Lab → · Contrast checker → · Palette generator →

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