#FEFC78#FEFC78

#FEFC78 is a very light, vivid yellow. Relative luminance 0.920; OKLCH L 96.7% C 0.154 H 108.2°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#FEFC78
RGBrgb(254, 252, 120)
HSLhsl(59, 99%, 73%)
HSVhsv(59, 53%, 100%)
CMYKcmyk(0%, 0.8%, 52.8%, 0.4%)
CIE-LABlab(96.84, -16.12, 62.46)
CIE-LCHlch(96.84, 64.51, 104.47°)
OKLaboklab(96.72% -0.0479 0.1459)
OKLCHoklch(96.72% 0.154 108.2)
XYZxyz(79.0757, 92.0498, 31.3676)
Luminance0.9205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC78 #787AFE
analogous
#FEB978 #FEFC78 #BDFE78
triadic
#FEFC78 #78FEFC #FC78FE
tetradic
#FEFC78 #78FEB9 #787AFE #FE78BD
square
#FEFC78 #78FEB9 #787AFE #FE78BD
split-complementary
#FEFC78 #78BDFE #B978FE
monochromatic
#FAF602 #FEFB3B #FEFC78 #FEFDB5 #FFFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEFC78#FFFFFF#000000##000000
##FEFC781.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)
#FFF36B
Deuteranopia (green-blind)
#FFF87F
Tritanopia (blue-blind)
#FFEEDF
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #fefc78;
/* rgb */ color: rgb(254, 252, 120);
/* oklch */ color: oklch(96.7% 0.154 108.2);
Tailwind
colors: {
  custom: {
    50: '#fffda3',
    500: '#fefc78',
    950: '#000000',
  },
}
SCSS
$custom: #fefc78;
$custom-light: #fffda3;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc78",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 59.104,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.96718,
    "c": 0.15356,
    "h": 108.2
  },
  "luminance": 0.92048
}

Semantic roles & 50–950 ramp

primary
#FEFC78
secondary
#3F41DC
accent
#03E600
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEFC78

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

Preview Lab → · Contrast checker → · Palette generator →

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