#FEFD78#FEFD78

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

Color values

HEX#FEFD78
RGBrgb(254, 253, 120)
HSLhsl(60, 99%, 73%)
HSVhsv(60, 53%, 100%)
CMYKcmyk(0%, 0.4%, 52.8%, 0.4%)
CIE-LABlab(97.10, -16.61, 62.76)
CIE-LCHlch(97.10, 64.92, 104.82°)
OKLaboklab(96.92% -0.0492 0.1466)
OKLCHoklch(96.92% 0.155 108.6)
XYZxyz(79.3906, 92.6795, 31.4725)
Luminance0.9268 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFD78 #7879FE
analogous
#FEBA78 #FEFD78 #BCFE78
triadic
#FEFD78 #78FEFD #FD78FE
tetradic
#FEFD78 #78FEBA #7879FE #FE78BC
square
#FEFD78 #78FEBA #7879FE #FE78BC
split-complementary
#FEFD78 #78BCFE #BA78FE
monochromatic
#FAF802 #FEFC3B #FEFD78 #FEFEB5 #FFFFE1

Accessibility & contrast

On white

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

On black

19.54
#FEFD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFD78
19.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFD78#FFFFFF#000000##000000
##FEFD781.001.0719.5419.54
#FFFFFF1.071.0021.0021.00
#00000019.5421.001.001.00
##00000019.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF46B
Deuteranopia (green-blind)
#FFF97F
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fefd78;
/* rgb */ color: rgb(254, 253, 120);
/* oklch */ color: oklch(96.9% 0.155 108.6);
Tailwind
colors: {
  custom: {
    50: '#fffda3',
    500: '#fefd78',
    950: '#000000',
  },
}
SCSS
$custom: #fefd78;
$custom-light: #fffda3;
$custom-dark: #000000;
JSON
{
  "hex": "#fefd78",
  "rgb": {
    "r": 254,
    "g": 253,
    "b": 120
  },
  "hsl": {
    "h": 59.552,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.96922,
    "c": 0.1546,
    "h": 108.6
  },
  "luminance": 0.92677
}

Semantic roles & 50–950 ramp

primary
#FEFD78
secondary
#3F40DC
accent
#02E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFD78

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

Preview Lab → · Contrast checker → · Palette generator →

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