#FEF080#FEF080

#FEF080 is a very light, vivid yellow. Relative luminance 0.850; OKLCH L 94.4% C 0.134 H 102.2°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#FEF080
RGBrgb(254, 240, 128)
HSLhsl(53, 98%, 75%)
HSVhsv(53, 50%, 100%)
CMYKcmyk(0%, 5.5%, 49.6%, 0.4%)
CIE-LABlab(93.86, -9.60, 55.33)
CIE-LCHlch(93.86, 56.15, 99.85°)
OKLaboklab(94.38% -0.0284 0.1312)
OKLCHoklch(94.38% 0.134 102.2)
XYZxyz(75.9316, 84.9520, 32.8155)
Luminance0.8495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF080 #808EFE
analogous
#FEB180 #FEF080 #CDFE80
triadic
#FEF080 #80FEF0 #F080FE
tetradic
#FEF080 #80FEB1 #808EFE #FE80CD
square
#FEF080 #80FEB1 #808EFE #FE80CD
split-complementary
#FEF080 #80CDFE #B180FE
monochromatic
#FDE207 #FEE943 #FEF080 #FEF7BD #FFFBE1

Accessibility & contrast

On white

1.17
#FEF080 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.99
#FEF080 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF080
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF080#FFFFFF#000000##000000
##FEF0801.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA76
Deuteranopia (green-blind)
#FFF085
Tritanopia (blue-blind)
#FFE3D6
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #fef080;
/* rgb */ color: rgb(254, 240, 128);
/* oklch */ color: oklch(94.4% 0.134 102.2);
Tailwind
colors: {
  custom: {
    50: '#fff4a7',
    500: '#fef080',
    950: '#000000',
  },
}
SCSS
$custom: #fef080;
$custom-light: #fff4a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef080",
  "rgb": {
    "r": 254,
    "g": 240,
    "b": 128
  },
  "hsl": {
    "h": 53.333,
    "s": 98.438,
    "l": 74.902
  },
  "oklch": {
    "l": 0.94377,
    "c": 0.13419,
    "h": 102.2
  },
  "luminance": 0.8495
}

Semantic roles & 50–950 ramp

primary
#FEF080
secondary
#4556DD
accent
#1AE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEF080

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

Preview Lab → · Contrast checker → · Palette generator →

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