#FEF47F#FEF47F

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

Color values

HEX#FEF47F
RGBrgb(254, 244, 127)
HSLhsl(55, 98%, 75%)
HSVhsv(55, 50%, 100%)
CMYKcmyk(0%, 3.9%, 50%, 0.4%)
CIE-LABlab(94.87, -11.66, 56.99)
CIE-LCHlch(94.87, 58.17, 101.56°)
OKLaboklab(95.17% -0.0344 0.1347)
OKLCHoklch(95.17% 0.139 104.3)
XYZxyz(77.0566, 87.3069, 32.8674)
Luminance0.8730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF47F #7F89FE
analogous
#FEB57F #FEF47F #C8FE7F
triadic
#FEF47F #7FFEF4 #F47FFE
tetradic
#FEF47F #7FFEB5 #7F89FE #FE7FC8
square
#FEF47F #7FFEB5 #7F89FE #FE7FC8
split-complementary
#FEF47F #7FC8FE #B57FFE
monochromatic
#FDEA06 #FEEF42 #FEF47F #FEF9BC #FFFCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF47F#FFFFFF#000000##000000
##FEF47F1.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)
#FFED74
Deuteranopia (green-blind)
#FFF385
Tritanopia (blue-blind)
#FFE7D9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef47f;
/* rgb */ color: rgb(254, 244, 127);
/* oklch */ color: oklch(95.2% 0.139 104.3);
Tailwind
colors: {
  custom: {
    50: '#fff7a7',
    500: '#fef47f',
    950: '#000000',
  },
}
SCSS
$custom: #fef47f;
$custom-light: #fff7a7;
$custom-dark: #000000;
JSON
{
  "hex": "#fef47f",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 127
  },
  "hsl": {
    "h": 55.276,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.95172,
    "c": 0.13902,
    "h": 104.3
  },
  "luminance": 0.87305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF47F

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

Preview Lab → · Contrast checker → · Palette generator →

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