#FEF980#FEF980

#FEF980 is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.2% C 0.143 H 106.7°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#FEF980
RGBrgb(254, 249, 128)
HSLhsl(58, 98%, 75%)
HSVhsv(58, 50%, 100%)
CMYKcmyk(0%, 2%, 49.6%, 0.4%)
CIE-LABlab(96.16, -14.02, 58.06)
CIE-LCHlch(96.16, 59.73, 103.58°)
OKLaboklab(96.2% -0.0411 0.1371)
OKLCHoklch(96.2% 0.143 106.7)
XYZxyz(78.6470, 90.3829, 33.7206)
Luminance0.9038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF980 #8085FE
analogous
#FEBA80 #FEF980 #C4FE80
triadic
#FEF980 #80FEF9 #F980FE
tetradic
#FEF980 #80FEBA #8085FE #FE80C4
square
#FEF980 #80FEBA #8085FE #FE80C4
split-complementary
#FEF980 #80C4FE #BA80FE
monochromatic
#FDF307 #FEF643 #FEF980 #FEFCBD #FFFEE1

Accessibility & contrast

On white

1.10
#FEF980 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.08
#FEF980 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF980
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF980#FFFFFF#000000##000000
##FEF9801.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF175
Deuteranopia (green-blind)
#FFF686
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fef980;
/* rgb */ color: rgb(254, 249, 128);
/* oklch */ color: oklch(96.2% 0.143 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffba8',
    500: '#fef980',
    950: '#000000',
  },
}
SCSS
$custom: #fef980;
$custom-light: #fffba8;
$custom-dark: #000000;
JSON
{
  "hex": "#fef980",
  "rgb": {
    "r": 254,
    "g": 249,
    "b": 128
  },
  "hsl": {
    "h": 57.619,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.96199,
    "c": 0.14314,
    "h": 106.7
  },
  "luminance": 0.90381
}

Semantic roles & 50–950 ramp

primary
#FEF980
secondary
#454BDD
accent
#09E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF980

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

Preview Lab → · Contrast checker → · Palette generator →

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