#FEF578#FEF578

#FEF578 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.3% C 0.146 H 105.1°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#FEF578
RGBrgb(254, 245, 120)
HSLhsl(56, 99%, 73%)
HSVhsv(56, 53%, 100%)
CMYKcmyk(0%, 3.5%, 52.8%, 0.4%)
CIE-LABlab(95.05, -12.72, 60.39)
CIE-LCHlch(95.05, 61.72, 101.89°)
OKLaboklab(95.29% -0.0382 0.1414)
OKLCHoklch(95.29% 0.146 105.1)
XYZxyz(76.9179, 87.7341, 30.6483)
Luminance0.8773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF578 #7881FE
analogous
#FEB278 #FEF578 #C4FE78
triadic
#FEF578 #78FEF5 #F578FE
tetradic
#FEF578 #78FEB2 #7881FE #FE78C4
square
#FEF578 #78FEB2 #7881FE #FE78C4
split-complementary
#FEF578 #78C4FE #B278FE
monochromatic
#FAE902 #FEF03B #FEF578 #FEF9B5 #FFFDE1

Accessibility & contrast

On white

1.13
#FEF578 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#FEF578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF578
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF578#FFFFFF#000000##000000
##FEF5781.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFF47E
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef578;
/* rgb */ color: rgb(254, 245, 120);
/* oklch */ color: oklch(95.3% 0.146 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff8a2',
    500: '#fef578',
    950: '#000000',
  },
}
SCSS
$custom: #fef578;
$custom-light: #fff8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#fef578",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 120
  },
  "hsl": {
    "h": 55.97,
    "s": 98.529,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95292,
    "c": 0.14649,
    "h": 105.1
  },
  "luminance": 0.87732
}

Semantic roles & 50–950 ramp

primary
#FEF578
secondary
#3F49DC
accent
#0FE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF578

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

Preview Lab → · Contrast checker → · Palette generator →

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