#FEF47D#FEF47D

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

Color values

HEX#FEF47D
RGBrgb(254, 244, 125)
HSLhsl(55, 98%, 74%)
HSVhsv(55, 51%, 100%)
CMYKcmyk(0%, 3.9%, 50.8%, 0.4%)
CIE-LABlab(94.85, -11.82, 57.88)
CIE-LCHlch(94.85, 59.08, 101.55°)
OKLaboklab(95.15% -0.0351 0.1365)
OKLCHoklch(95.15% 0.141 104.4)
XYZxyz(76.9276, 87.2553, 32.1877)
Luminance0.8725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF47D #7D87FE
analogous
#FEB47D #FEF47D #C8FE7D
triadic
#FEF47D #7DFEF4 #F47DFE
tetradic
#FEF47D #7DFEB4 #7D87FE #FE7DC8
square
#FEF47D #7DFEB4 #7D87FE #FE7DC8
split-complementary
#FEF47D #7DC8FE #B47DFE
monochromatic
#FDEA04 #FEEF40 #FEF47D #FEF9BA #FFFCE1

Accessibility & contrast

On white

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

On black

18.45
#FEF47D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF47D
18.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF47D#FFFFFF#000000##000000
##FEF47D1.001.1418.4518.45
#FFFFFF1.141.0021.0021.00
#00000018.4521.001.001.00
##00000018.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef47d;
/* rgb */ color: rgb(254, 244, 125);
/* oklch */ color: oklch(95.1% 0.141 104.4);
Tailwind
colors: {
  custom: {
    50: '#fff7a5',
    500: '#fef47d',
    950: '#000000',
  },
}
SCSS
$custom: #fef47d;
$custom-light: #fff7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#fef47d",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 125
  },
  "hsl": {
    "h": 55.349,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.95148,
    "c": 0.14091,
    "h": 104.4
  },
  "luminance": 0.87253
}

Semantic roles & 50–950 ramp

primary
#FEF47D
secondary
#434FDC
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF47D

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

Preview Lab → · Contrast checker → · Palette generator →

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