#FEF47E#FEF47E

#FEF47E is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.2% C 0.140 H 104.4°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#FEF47E
RGBrgb(254, 244, 126)
HSLhsl(55, 98%, 75%)
HSVhsv(55, 50%, 100%)
CMYKcmyk(0%, 3.9%, 50.4%, 0.4%)
CIE-LABlab(94.86, -11.74, 57.44)
CIE-LCHlch(94.86, 58.62, 101.55°)
OKLaboklab(95.16% -0.0347 0.1356)
OKLCHoklch(95.16% 0.14 104.4)
XYZxyz(76.9918, 87.2809, 32.5259)
Luminance0.8728 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF47E #7E88FE
analogous
#FEB47E #FEF47E #C8FE7E
triadic
#FEF47E #7EFEF4 #F47EFE
tetradic
#FEF47E #7EFEB4 #7E88FE #FE7EC8
square
#FEF47E #7EFEB4 #7E88FE #FE7EC8
split-complementary
#FEF47E #7EC8FE #B47EFE
monochromatic
#FDEA05 #FEEF41 #FEF47E #FEF9BB #FFFCE1

Accessibility & contrast

On white

1.14
#FEF47E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#FEF47E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF47E
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF47E#FFFFFF#000000##000000
##FEF47E1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED73
Deuteranopia (green-blind)
#FFF384
Tritanopia (blue-blind)
#FFE6D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef47e;
/* rgb */ color: rgb(254, 244, 126);
/* oklch */ color: oklch(95.2% 0.140 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff7a6',
    500: '#fef47e',
    950: '#000000',
  },
}
SCSS
$custom: #fef47e;
$custom-light: #fff7a6;
$custom-dark: #000000;
JSON
{
  "hex": "#fef47e",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 126
  },
  "hsl": {
    "h": 55.313,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.9516,
    "c": 0.13997,
    "h": 104.4
  },
  "luminance": 0.87279
}

Semantic roles & 50–950 ramp

primary
#FEF47E
secondary
#4450DD
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181710
muted
#868580

Preview Lab

Preview with #FEF47E

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

Preview Lab → · Contrast checker → · Palette generator →

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