#FEF46F#FEF46F

#FEF46F is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 95.0% C 0.153 H 105.0°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#FEF46F
RGBrgb(254, 244, 111)
HSLhsl(56, 99%, 72%)
HSVhsv(56, 56%, 100%)
CMYKcmyk(0%, 3.9%, 56.3%, 0.4%)
CIE-LABlab(94.71, -12.90, 63.98)
CIE-LCHlch(94.71, 65.27, 101.40°)
OKLaboklab(94.99% -0.0396 0.1482)
OKLCHoklch(94.99% 0.153 105)
XYZxyz(76.0954, 86.9224, 27.8051)
Luminance0.8692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF46F #6F79FE
analogous
#FEAD6F #FEF46F #C1FE6F
triadic
#FEF46F #6FFEF4 #F46FFE
tetradic
#FEF46F #6FFEAD #6F79FE #FE6FC1
square
#FEF46F #6FFEAD #6F79FE #FE6FC1
split-complementary
#FEF46F #6FC1FE #AD6FFE
monochromatic
#F1E002 #FEEF32 #FEF46F #FEF9AC #FFFDE1

Accessibility & contrast

On white

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

On black

18.38
#FEF46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF46F
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF46F#FFFFFF#000000##000000
##FEF46F1.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC61
Deuteranopia (green-blind)
#FFF376
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef46f;
/* rgb */ color: rgb(254, 244, 111);
/* oklch */ color: oklch(95.0% 0.153 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff79c',
    500: '#fef46f',
    950: '#000000',
  },
}
SCSS
$custom: #fef46f;
$custom-light: #fff79c;
$custom-dark: #000000;
JSON
{
  "hex": "#fef46f",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 111
  },
  "hsl": {
    "h": 55.804,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.9499,
    "c": 0.15342,
    "h": 105
  },
  "luminance": 0.8692
}

Semantic roles & 50–950 ramp

primary
#FEF46F
secondary
#3742DA
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF46F

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

Preview Lab → · Contrast checker → · Palette generator →

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