#FEF58F#FEF58F

#FEF58F is a very light, vivid yellow. Relative luminance 0.884; OKLCH L 95.6% C 0.124 H 104.1°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#FEF58F
RGBrgb(254, 245, 143)
HSLhsl(55, 98%, 78%)
HSVhsv(55, 44%, 100%)
CMYKcmyk(0%, 3.5%, 43.7%, 0.4%)
CIE-LABlab(95.31, -10.71, 50.00)
CIE-LCHlch(95.31, 51.14, 102.09°)
OKLaboklab(95.59% -0.0302 0.1205)
OKLCHoklch(95.59% 0.124 104.1)
XYZxyz(78.4851, 88.3610, 38.9023)
Luminance0.8836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF58F #8F98FE
analogous
#FEBD8F #FEF58F #CFFE8F
triadic
#FEF58F #8FFEF5 #F58FFE
tetradic
#FEF58F #8FFEBD #8F98FE #FE8FCF
square
#FEF58F #8FFEBD #8F98FE #FE8FCF
split-complementary
#FEF58F #8FCFFE #BD8FFE
monochromatic
#FDEA16 #FDF052 #FEF58F #FFFACC #FFFCE1

Accessibility & contrast

On white

1.12
#FEF58F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.67
#FEF58F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF58F
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF58F#FFFFFF#000000##000000
##FEF58F1.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE87
Deuteranopia (green-blind)
#FFF493
Tritanopia (blue-blind)
#FFE9DD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef58f;
/* rgb */ color: rgb(254, 245, 143);
/* oklch */ color: oklch(95.6% 0.124 104.1);
Tailwind
colors: {
  custom: {
    50: '#fff8b1',
    500: '#fef58f',
    950: '#000000',
  },
}
SCSS
$custom: #fef58f;
$custom-light: #fff8b1;
$custom-dark: #000000;
JSON
{
  "hex": "#fef58f",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 143
  },
  "hsl": {
    "h": 55.135,
    "s": 98.23,
    "l": 77.843
  },
  "oklch": {
    "l": 0.95587,
    "c": 0.12417,
    "h": 104.1
  },
  "luminance": 0.88359
}

Semantic roles & 50–950 ramp

primary
#FEF58F
secondary
#525EDF
accent
#13E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #FEF58F

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

Preview Lab → · Contrast checker → · Palette generator →

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