#FEFA8D#FEFA8D

#FEFA8D is a very light, vivid yellow. Relative luminance 0.914; OKLCH L 96.6% C 0.131 H 106.8°. Best body text is #000000 at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#FEFA8D
RGBrgb(254, 250, 141)
HSLhsl(58, 98%, 77%)
HSVhsv(58, 44%, 100%)
CMYKcmyk(0%, 1.6%, 44.5%, 0.4%)
CIE-LABlab(96.56, -13.35, 52.49)
CIE-LCHlch(96.56, 54.17, 104.27°)
OKLaboklab(96.57% -0.0379 0.1259)
OKLCHoklch(96.57% 0.131 106.8)
XYZxyz(79.8680, 91.3671, 38.6225)
Luminance0.9136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA8D #8D91FE
analogous
#FEC18D #FEFA8D #CAFE8D
triadic
#FEFA8D #8DFEFA #FA8DFE
tetradic
#FEFA8D #8DFEC1 #8D91FE #FE8DCA
square
#FEFA8D #8DFEC1 #8D91FE #FE8DCA
split-complementary
#FEFA8D #8DCAFE #C18DFE
monochromatic
#FDF514 #FDF750 #FEFA8D #FFFDCA #FFFEE1

Accessibility & contrast

On white

1.09
#FEFA8D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.27
#FEFA8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA8D
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA8D#FFFFFF#000000##000000
##FEFA8D1.001.0919.2719.27
#FFFFFF1.091.0021.0021.00
#00000019.2721.001.001.00
##00000019.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF284
Deuteranopia (green-blind)
#FFF792
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefa8d;
/* rgb */ color: rgb(254, 250, 141);
/* oklch */ color: oklch(96.6% 0.131 106.8);
Tailwind
colors: {
  custom: {
    50: '#fffbb0',
    500: '#fefa8d',
    950: '#000000',
  },
}
SCSS
$custom: #fefa8d;
$custom-light: #fffbb0;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa8d",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 141
  },
  "hsl": {
    "h": 57.876,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.9657,
    "c": 0.13147,
    "h": 106.8
  },
  "luminance": 0.91365
}

Semantic roles & 50–950 ramp

primary
#FEFA8D
secondary
#5056DF
accent
#08E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #FEFA8D

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

Preview Lab → · Contrast checker → · Palette generator →

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