#FEFD7E#FEFD7E

#FEFD7E is a very light, vivid yellow. Relative luminance 0.928; OKLCH L 97.0% C 0.149 H 108.5°. Best body text is #000000 at 19.57:1 contrast (WCAG AA passes).

Color values

HEX#FEFD7E
RGBrgb(254, 253, 126)
HSLhsl(60, 98%, 75%)
HSVhsv(60, 50%, 100%)
CMYKcmyk(0%, 0.4%, 50.4%, 0.4%)
CIE-LABlab(97.16, -16.13, 60.15)
CIE-LCHlch(97.16, 62.27, 105.01°)
OKLaboklab(96.99% -0.0473 0.1415)
OKLCHoklch(96.99% 0.149 108.5)
XYZxyz(79.7662, 92.8298, 33.4507)
Luminance0.9283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD7E #7E7FFE
analogous
#FEBD7E #FEFD7E #BFFE7E
triadic
#FEFD7E #7EFEFD #FD7EFE
tetradic
#FEFD7E #7EFEBD #7E7FFE #FE7EBF
square
#FEFD7E #7EFEBD #7E7FFE #FE7EBF
split-complementary
#FEFD7E #7EBFFE #BD7EFE
monochromatic
#FDFB05 #FEFC41 #FEFD7E #FEFEBB #FFFFE1

Accessibility & contrast

On white

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

On black

19.57
#FEFD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD7E
19.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD7E#FFFFFF#000000##000000
##FEFD7E1.001.0719.5719.57
#FFFFFF1.071.0021.0021.00
#00000019.5721.001.001.00
##00000019.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF472
Deuteranopia (green-blind)
#FFF984
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefd7e;
/* rgb */ color: rgb(254, 253, 126);
/* oklch */ color: oklch(97.0% 0.149 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffda6',
    500: '#fefd7e',
    950: '#000000',
  },
}
SCSS
$custom: #fefd7e;
$custom-light: #fffda6;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd7e",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 126
  },
  "hsl": {
    "h": 59.531,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96991,
    "c": 0.14918,
    "h": 108.5
  },
  "luminance": 0.92828
}

Semantic roles & 50–950 ramp

primary
#FEFD7E
secondary
#4445DD
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEFD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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