#FEF46D#FEF46D

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

Color values

HEX#FEF46D
RGBrgb(254, 244, 109)
HSLhsl(56, 99%, 71%)
HSVhsv(56, 57%, 100%)
CMYKcmyk(0%, 3.9%, 57.1%, 0.4%)
CIE-LABlab(94.69, -13.04, 64.83)
CIE-LCHlch(94.69, 66.13, 101.38°)
OKLaboklab(94.97% -0.0402 0.1498)
OKLCHoklch(94.97% 0.155 105)
XYZxyz(75.9865, 86.8788, 27.2317)
Luminance0.8688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF46D #6D77FE
analogous
#FEAB6D #FEF46D #BFFE6D
triadic
#FEF46D #6DFEF4 #F46DFE
tetradic
#FEF46D #6DFEAB #6D77FE #FE6DBF
square
#FEF46D #6DFEAB #6D77FE #FE6DBF
split-complementary
#FEF46D #6DBFFE #AB6DFE
monochromatic
#EFDF02 #FEEF30 #FEF46D #FEF9AA #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF46D#FFFFFF#000000##000000
##FEF46D1.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)
#FFEC5F
Deuteranopia (green-blind)
#FFF374
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef46d;
/* rgb */ color: rgb(254, 244, 109);
/* oklch */ color: oklch(95.0% 0.155 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff79b',
    500: '#fef46d',
    950: '#000000',
  },
}
SCSS
$custom: #fef46d;
$custom-light: #fff79b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef46d",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 109
  },
  "hsl": {
    "h": 55.862,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94969,
    "c": 0.1551,
    "h": 105
  },
  "luminance": 0.86876
}

Semantic roles & 50–950 ramp

primary
#FEF46D
secondary
#3541DA
accent
#10E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF46D

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

Preview Lab → · Contrast checker → · Palette generator →

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