#FEFD8A#FEFD8A

#FEFD8A is a very light, vivid yellow. Relative luminance 0.932; OKLCH L 97.1% C 0.138 H 108.3°. Best body text is #000000 at 19.63:1 contrast (WCAG AA passes).

Color values

HEX#FEFD8A
RGBrgb(254, 253, 138)
HSLhsl(59, 98%, 77%)
HSVhsv(59, 46%, 100%)
CMYKcmyk(0%, 0.4%, 45.7%, 0.4%)
CIE-LABlab(97.29, -15.09, 54.80)
CIE-LCHlch(97.29, 56.84, 105.40°)
OKLaboklab(97.14% -0.0432 0.1308)
OKLCHoklch(97.14% 0.138 108.3)
XYZxyz(80.5874, 93.1583, 37.7760)
Luminance0.9316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD8A #8A8BFE
analogous
#FEC38A #FEFD8A #C5FE8A
triadic
#FEFD8A #8AFEFD #FD8AFE
tetradic
#FEFD8A #8AFEC3 #8A8BFE #FE8AC5
square
#FEFD8A #8AFEC3 #8A8BFE #FE8AC5
split-complementary
#FEFD8A #8AC5FE #C38AFE
monochromatic
#FDFB11 #FDFC4D #FEFD8A #FFFEC7 #FFFEE1

Accessibility & contrast

On white

1.07
#FEFD8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.63
#FEFD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD8A
19.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD8A#FFFFFF#000000##000000
##FEFD8A1.001.0719.6319.63
#FFFFFF1.071.0021.0021.00
#00000019.6321.001.001.00
##00000019.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF580
Deuteranopia (green-blind)
#FFF98F
Tritanopia (blue-blind)
#FFF0E2
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefd8a;
/* rgb */ color: rgb(254, 253, 138);
/* oklch */ color: oklch(97.1% 0.138 108.3);
Tailwind
colors: {
  custom: {
    50: '#fffdae',
    500: '#fefd8a',
    950: '#000000',
  },
}
SCSS
$custom: #fefd8a;
$custom-light: #fffdae;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd8a",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 138
  },
  "hsl": {
    "h": 59.483,
    "s": 98.305,
    "l": 76.863
  },
  "oklch": {
    "l": 0.9714,
    "c": 0.13771,
    "h": 108.3
  },
  "luminance": 0.93156
}

Semantic roles & 50–950 ramp

primary
#FEFD8A
secondary
#4E4FDE
accent
#02E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEFD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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