#FEFD74#FEFD74

#FEFD74 is a very light, vivid yellow. Relative luminance 0.926; OKLCH L 96.9% C 0.158 H 108.6°. Best body text is #000000 at 19.52:1 contrast (WCAG AA passes).

Color values

HEX#FEFD74
RGBrgb(254, 253, 116)
HSLhsl(60, 99%, 73%)
HSVhsv(60, 54%, 100%)
CMYKcmyk(0%, 0.4%, 54.3%, 0.4%)
CIE-LABlab(97.06, -16.91, 64.47)
CIE-LCHlch(97.06, 66.65, 104.70°)
OKLaboklab(96.88% -0.0505 0.1498)
OKLCHoklch(96.88% 0.158 108.6)
XYZxyz(79.1529, 92.5844, 30.2206)
Luminance0.9258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD74 #7475FE
analogous
#FEB874 #FEFD74 #BAFE74
triadic
#FEFD74 #74FEFD #FD74FE
tetradic
#FEFD74 #74FEB8 #7475FE #FE74BA
square
#FEFD74 #74FEB8 #7475FE #FE74BA
split-complementary
#FEFD74 #74BAFE #B874FE
monochromatic
#F6F402 #FEFC37 #FEFD74 #FEFEB1 #FFFFE1

Accessibility & contrast

On white

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

On black

19.52
#FEFD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD74
19.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD74#FFFFFF#000000##000000
##FEFD741.001.0819.5219.52
#FFFFFF1.081.0021.0021.00
#00000019.5221.001.001.00
##00000019.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF466
Deuteranopia (green-blind)
#FFF97B
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefd74;
/* rgb */ color: rgb(254, 253, 116);
/* oklch */ color: oklch(96.9% 0.158 108.6);
Tailwind
colors: {
  custom: {
    50: '#fffda0',
    500: '#fefd74',
    950: '#000000',
  },
}
SCSS
$custom: #fefd74;
$custom-light: #fffda0;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd74",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 116
  },
  "hsl": {
    "h": 59.565,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.96879,
    "c": 0.15809,
    "h": 108.6
  },
  "luminance": 0.92582
}

Semantic roles & 50–950 ramp

primary
#FEFD74
secondary
#3B3CDB
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFD74

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

Preview Lab → · Contrast checker → · Palette generator →

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