#FEFD5A#FEFD5A

#FEFD5A is a very light, vivid yellow. Relative luminance 0.921; OKLCH L 96.6% C 0.178 H 109.0°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FEFD5A
RGBrgb(254, 253, 90)
HSLhsl(60, 99%, 67%)
HSVhsv(60, 65%, 100%)
CMYKcmyk(0%, 0.4%, 64.6%, 0.4%)
CIE-LABlab(96.85, -18.59, 74.87)
CIE-LCHlch(96.85, 77.14, 103.95°)
OKLaboklab(96.64% -0.0579 0.1685)
OKLCHoklch(96.64% 0.178 109)
XYZxyz(77.8464, 92.0618, 23.3399)
Luminance0.9206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD5A #5A5BFE
analogous
#FEAB5A #FEFD5A #ADFE5A
triadic
#FEFD5A #5AFEFD #FD5AFE
tetradic
#FEFD5A #5AFEAB #5A5BFE #FE5AAD
square
#FEFD5A #5AFEAB #5A5BFE #FE5AAD
split-complementary
#FEFD5A #5AADFE #AB5AFE
monochromatic
#DCDB01 #FEFC1D #FEFD5A #FEFE97 #FFFED4

Accessibility & contrast

On white

1.08
#FEFD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.41
#FEFD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD5A
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD5A#FFFFFF#000000##000000
##FEFD5A1.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF343
Deuteranopia (green-blind)
#FFF965
Tritanopia (blue-blind)
#FFEEDC
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefd5a;
/* rgb */ color: rgb(254, 253, 90);
/* oklch */ color: oklch(96.6% 0.178 109.0);
Tailwind
colors: {
  custom: {
    50: '#fffd91',
    500: '#fefd5a',
    950: '#000000',
  },
}
SCSS
$custom: #fefd5a;
$custom-light: #fffd91;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd5a",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 90
  },
  "hsl": {
    "h": 59.634,
    "s": 98.795,
    "l": 67.451
  },
  "oklch": {
    "l": 0.9664,
    "c": 0.17817,
    "h": 109
  },
  "luminance": 0.9206
}

Semantic roles & 50–950 ramp

primary
#FEFD5A
secondary
#2728D5
accent
#01E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170D
muted
#87857F

Preview Lab

Preview with #FEFD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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