#FEF46C#FEF46C

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

Color values

HEX#FEF46C
RGBrgb(254, 244, 108)
HSLhsl(56, 99%, 71%)
HSVhsv(56, 57%, 100%)
CMYKcmyk(0%, 3.9%, 57.5%, 0.4%)
CIE-LABlab(94.68, -13.11, 65.25)
CIE-LCHlch(94.68, 66.56, 101.36°)
OKLaboklab(94.96% -0.0405 0.1506)
OKLCHoklch(94.96% 0.156 105.1)
XYZxyz(75.9330, 86.8574, 26.9498)
Luminance0.8686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF46C #6C76FE
analogous
#FEAB6C #FEF46C #BFFE6C
triadic
#FEF46C #6CFEF4 #F46CFE
tetradic
#FEF46C #6CFEAB #6C76FE #FE6CBF
square
#FEF46C #6CFEAB #6C76FE #FE6CBF
split-complementary
#FEF46C #6CBFFE #AB6CFE
monochromatic
#EEDE02 #FEEF2F #FEF46C #FEF9A9 #FFFDE1

Accessibility & contrast

On white

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

On black

18.37
#FEF46C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF46C
18.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF46C#FFFFFF#000000##000000
##FEF46C1.001.1418.3718.37
#FFFFFF1.141.0021.0021.00
#00000018.3721.001.001.00
##00000018.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC5D
Deuteranopia (green-blind)
#FFF373
Tritanopia (blue-blind)
#FFE5D6
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef46c;
/* rgb */ color: rgb(254, 244, 108);
/* oklch */ color: oklch(95.0% 0.156 105.1);
Tailwind
colors: {
  custom: {
    50: '#fff79b',
    500: '#fef46c',
    950: '#000000',
  },
}
SCSS
$custom: #fef46c;
$custom-light: #fff79b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef46c",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 108
  },
  "hsl": {
    "h": 55.89,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94959,
    "c": 0.15593,
    "h": 105.1
  },
  "luminance": 0.86855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF46C

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

Preview Lab → · Contrast checker → · Palette generator →

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