#FEF880#FEF880

#FEF880 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 96.0% C 0.142 H 106.2°. Best body text is #000000 at 18.95:1 contrast (WCAG AA passes).

Color values

HEX#FEF880
RGBrgb(254, 248, 128)
HSLhsl(57, 98%, 75%)
HSVhsv(57, 50%, 100%)
CMYKcmyk(0%, 2.4%, 49.6%, 0.4%)
CIE-LABlab(95.90, -13.53, 57.75)
CIE-LCHlch(95.90, 59.32, 103.19°)
OKLaboklab(96% -0.0397 0.1365)
OKLCHoklch(96% 0.142 106.2)
XYZxyz(78.3387, 89.7663, 33.6179)
Luminance0.8976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF880 #8086FE
analogous
#FEB980 #FEF880 #C5FE80
triadic
#FEF880 #80FEF8 #F880FE
tetradic
#FEF880 #80FEB9 #8086FE #FE80C5
square
#FEF880 #80FEB9 #8086FE #FE80C5
split-complementary
#FEF880 #80C5FE #B980FE
monochromatic
#FDF107 #FEF543 #FEF880 #FEFBBD #FFFDE1

Accessibility & contrast

On white

1.11
#FEF880 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.95
#FEF880 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF880
18.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF880#FFFFFF#000000##000000
##FEF8801.001.1118.9518.95
#FFFFFF1.111.0021.0021.00
#00000018.9521.001.001.00
##00000018.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF075
Deuteranopia (green-blind)
#FFF686
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #fef880;
/* rgb */ color: rgb(254, 248, 128);
/* oklch */ color: oklch(96.0% 0.142 106.2);
Tailwind
colors: {
  custom: {
    50: '#fffaa7',
    500: '#fef880',
    950: '#000000',
  },
}
SCSS
$custom: #fef880;
$custom-light: #fffaa7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef880",
  "rgb": {
    "r": 254,
    "g": 248,
    "b": 128
  },
  "hsl": {
    "h": 57.143,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.95996,
    "c": 0.14211,
    "h": 106.2
  },
  "luminance": 0.89764
}

Semantic roles & 50–950 ramp

primary
#FEF880
secondary
#454DDD
accent
#0BE600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FEF880

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

Preview Lab → · Contrast checker → · Palette generator →

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