#FEF46E#FEF46E

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

Color values

HEX#FEF46E
RGBrgb(254, 244, 110)
HSLhsl(56, 99%, 71%)
HSVhsv(56, 57%, 100%)
CMYKcmyk(0%, 3.9%, 56.7%, 0.4%)
CIE-LABlab(94.70, -12.97, 64.41)
CIE-LCHlch(94.70, 65.70, 101.39°)
OKLaboklab(94.98% -0.0399 0.149)
OKLCHoklch(94.98% 0.154 105)
XYZxyz(76.0407, 86.9005, 27.5168)
Luminance0.8690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF46E #6E78FE
analogous
#FEAC6E #FEF46E #C0FE6E
triadic
#FEF46E #6EFEF4 #F46EFE
tetradic
#FEF46E #6EFEAC #6E78FE #FE6EC0
square
#FEF46E #6EFEAC #6E78FE #FE6EC0
split-complementary
#FEF46E #6EC0FE #AC6EFE
monochromatic
#F0DF02 #FEEF31 #FEF46E #FEF9AB #FFFDE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FEF46E#FFFFFF#000000##000000
##FEF46E1.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)
#FFEC60
Deuteranopia (green-blind)
#FFF375
Tritanopia (blue-blind)
#FFE5D7
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #fef46e;
/* rgb */ color: rgb(254, 244, 110);
/* oklch */ color: oklch(95.0% 0.154 105.0);
Tailwind
colors: {
  custom: {
    50: '#fff79c',
    500: '#fef46e',
    950: '#000000',
  },
}
SCSS
$custom: #fef46e;
$custom-light: #fff79c;
$custom-dark: #000000;
JSON
{
  "hex": "#fef46e",
  "rgb": {
    "r": 254,
    "g": 244,
    "b": 110
  },
  "hsl": {
    "h": 55.833,
    "s": 98.63,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9498,
    "c": 0.15426,
    "h": 105
  },
  "luminance": 0.86898
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #FEF46E

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

Preview Lab → · Contrast checker → · Palette generator →

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