#FEF57E#FEF57E

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

Color values

HEX#FEF57E
RGBrgb(254, 245, 126)
HSLhsl(56, 98%, 75%)
HSVhsv(56, 50%, 100%)
CMYKcmyk(0%, 3.5%, 50.4%, 0.4%)
CIE-LABlab(95.11, -12.23, 57.74)
CIE-LCHlch(95.11, 59.02, 101.96°)
OKLaboklab(95.36% -0.0361 0.1363)
OKLCHoklch(95.36% 0.141 104.9)
XYZxyz(77.2935, 87.8843, 32.6264)
Luminance0.8788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF57E #7E87FE
analogous
#FEB57E #FEF57E #C7FE7E
triadic
#FEF57E #7EFEF5 #F57EFE
tetradic
#FEF57E #7EFEB5 #7E87FE #FE7EC7
square
#FEF57E #7EFEB5 #7E87FE #FE7EC7
split-complementary
#FEF57E #7EC7FE #B57EFE
monochromatic
#FDEC05 #FEF041 #FEF57E #FEFABB #FFFDE1

Accessibility & contrast

On white

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

On black

18.58
#FEF57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF57E
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF57E#FFFFFF#000000##000000
##FEF57E1.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE73
Deuteranopia (green-blind)
#FFF484
Tritanopia (blue-blind)
#FFE7DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef57e;
/* rgb */ color: rgb(254, 245, 126);
/* oklch */ color: oklch(95.4% 0.141 104.9);
Tailwind
colors: {
  custom: {
    50: '#fff8a6',
    500: '#fef57e',
    950: '#000000',
  },
}
SCSS
$custom: #fef57e;
$custom-light: #fff8a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef57e",
  "rgb": {
    "r": 254,
    "g": 245,
    "b": 126
  },
  "hsl": {
    "h": 55.781,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.95363,
    "c": 0.14096,
    "h": 104.9
  },
  "luminance": 0.87882
}

Semantic roles & 50–950 ramp

primary
#FEF57E
secondary
#444EDD
accent
#10E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEF57E

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

Preview Lab → · Contrast checker → · Palette generator →

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