#FEF49E#FEF49E

#FEF49E is a very light, moderate yellow. Relative luminance 0.882; OKLCH L 95.6% C 0.107 H 102.5°. Best body text is #000000 at 18.65:1 contrast (WCAG AA passes).

Color values

HEX#FEF49E
RGBrgb(254, 244, 158)
HSLhsl(54, 98%, 81%)
HSVhsv(54, 38%, 100%)
CMYKcmyk(0%, 3.9%, 37.8%, 0.4%)
CIE-LABlab(95.26, -8.69, 42.65)
CIE-LCHlch(95.26, 43.52, 101.51°)
OKLaboklab(95.61% -0.0231 0.1046)
OKLCHoklch(95.61% 0.107 102.5)
XYZxyz(79.3966, 88.2429, 45.1913)
Luminance0.8824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF49E #9EA8FE
analogous
#FEC49E #FEF49E #D8FE9E
triadic
#FEF49E #9EFEF4 #F49EFE
tetradic
#FEF49E #9EFEC4 #9EA8FE #FE9ED8
square
#FEF49E #9EFEC4 #9EA8FE #FE9ED8
split-complementary
#FEF49E #9ED8FE #C49EFE
monochromatic
#FDE625 #FDED61 #FEF49E #FFFBDB #FFFCE1

Accessibility & contrast

On white

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

On black

18.65
#FEF49E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF49E
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF49E#FFFFFF#000000##000000
##FEF49E1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE98
Deuteranopia (green-blind)
#FFF4A1
Tritanopia (blue-blind)
#FFE9DE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef49e;
/* rgb */ color: rgb(254, 244, 158);
/* oklch */ color: oklch(95.6% 0.107 102.5);
Tailwind
colors: {
  custom: {
    50: '#fff7bb',
    500: '#fef49e',
    950: '#000000',
  },
}
SCSS
$custom: #fef49e;
$custom-light: #fff7bb;
$custom-dark: #000000;
JSON
{
  "hex": "#fef49e",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 158
  },
  "hsl": {
    "h": 53.75,
    "s": 97.959,
    "l": 80.784
  },
  "oklch": {
    "l": 0.95614,
    "c": 0.1071,
    "h": 102.5
  },
  "luminance": 0.88241
}

Semantic roles & 50–950 ramp

primary
#FEF49E
secondary
#5F6DE1
accent
#18E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181712
muted
#868582

Preview Lab

Preview with #FEF49E

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

Preview Lab → · Contrast checker → · Palette generator →

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