#FEF580#FEF580

#FEF580 is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.4% C 0.139 H 104.8°. Best body text is #000000 at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#FEF580
RGBrgb(254, 245, 128)
HSLhsl(56, 98%, 75%)
HSVhsv(56, 50%, 100%)
CMYKcmyk(0%, 3.5%, 49.6%, 0.4%)
CIE-LABlab(95.13, -12.06, 56.84)
CIE-LCHlch(95.13, 58.11, 101.98°)
OKLaboklab(95.39% -0.0355 0.1345)
OKLCHoklch(95.39% 0.139 104.8)
XYZxyz(77.4238, 87.9365, 33.3129)
Luminance0.8793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF580 #8089FE
analogous
#FEB680 #FEF580 #C8FE80
triadic
#FEF580 #80FEF5 #F580FE
tetradic
#FEF580 #80FEB6 #8089FE #FE80C8
square
#FEF580 #80FEB6 #8089FE #FE80C8
split-complementary
#FEF580 #80C8FE #B680FE
monochromatic
#FDEB07 #FEF043 #FEF580 #FEFABD #FFFDE1

Accessibility & contrast

On white

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

On black

18.59
#FEF580 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF580
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF580#FFFFFF#000000##000000
##FEF5801.001.1318.5918.59
#FFFFFF1.131.0021.0021.00
#00000018.5921.001.001.00
##00000018.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE75
Deuteranopia (green-blind)
#FFF486
Tritanopia (blue-blind)
#FFE8DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef580;
/* rgb */ color: rgb(254, 245, 128);
/* oklch */ color: oklch(95.4% 0.139 104.8);
Tailwind
colors: {
  custom: {
    50: '#fff8a7',
    500: '#fef580',
    950: '#000000',
  },
}
SCSS
$custom: #fef580;
$custom-light: #fff8a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef580",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 128
  },
  "hsl": {
    "h": 55.714,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95387,
    "c": 0.13907,
    "h": 104.8
  },
  "luminance": 0.87934
}

Semantic roles & 50–950 ramp

primary
#FEF580
secondary
#4550DD
accent
#10E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF580

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

Preview Lab → · Contrast checker → · Palette generator →

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