#FEFDB2#FEFDB2

#FEFDB2 is a very light, moderate yellow. Relative luminance 0.945; OKLCH L 97.8% C 0.094 H 107.4°. Best body text is #000000 at 19.91:1 contrast (WCAG AA passes).

Color values

HEX#FEFDB2
RGBrgb(254, 253, 178)
HSLhsl(59, 97%, 85%)
HSVhsv(59, 30%, 100%)
CMYKcmyk(0%, 0.4%, 29.9%, 0.4%)
CIE-LABlab(97.85, -10.83, 36.11)
CIE-LCHlch(97.85, 37.70, 106.70°)
OKLaboklab(97.76% -0.0282 0.09)
OKLCHoklch(97.76% 0.094 107.4)
XYZxyz(84.0347, 94.5372, 55.9315)
Luminance0.9454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFDB2 #B2B3FE
analogous
#FED7B2 #FEFDB2 #D9FEB2
triadic
#FEFDB2 #B2FEFD #FDB2FE
tetradic
#FEFDB2 #B2FED7 #B2B3FE #FEB2D9
square
#FEFDB2 #B2FED7 #B2B3FE #FEB2D9
split-complementary
#FEFDB2 #B2D9FE #D7B2FE
monochromatic
#FCFA39 #FDFB76 #FEFDB2 #FFFEE1 #FFFEE1

Accessibility & contrast

On white

1.05
#FEFDB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.91
#FEFDB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFDB2
19.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFDB2#FFFFFF#000000##000000
##FEFDB21.001.0519.9119.91
#FFFFFF1.051.0021.0021.00
#00000019.9121.001.001.00
##00000019.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7AD
Deuteranopia (green-blind)
#FFFAB5
Tritanopia (blue-blind)
#FFF4EA
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #fefdb2;
/* rgb */ color: rgb(254, 253, 178);
/* oklch */ color: oklch(97.8% 0.094 107.4);
Tailwind
colors: {
  custom: {
    50: '#fffec9',
    500: '#fefdb2',
    950: '#000000',
  },
}
SCSS
$custom: #fefdb2;
$custom-light: #fffec9;
$custom-dark: #000000;
JSON
{
  "hex": "#fefdb2",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 178
  },
  "hsl": {
    "h": 59.211,
    "s": 97.436,
    "l": 84.706
  },
  "oklch": {
    "l": 0.97763,
    "c": 0.09434,
    "h": 107.4
  },
  "luminance": 0.94536
}

Semantic roles & 50–950 ramp

primary
#FEFDB2
secondary
#7072E4
accent
#03E600
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181713
muted
#868582

Preview Lab

Preview with #FEFDB2

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

Preview Lab → · Contrast checker → · Palette generator →

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