#FEF66D#FEF66D

#FEF66D is a very light, vivid yellow. Relative luminance 0.881; OKLCH L 95.4% C 0.157 H 105.9°. Best body text is #000000 at 18.62:1 contrast (WCAG AA passes).

Color values

HEX#FEF66D
RGBrgb(254, 246, 109)
HSLhsl(57, 99%, 71%)
HSVhsv(57, 57%, 100%)
CMYKcmyk(0%, 3.1%, 57.1%, 0.4%)
CIE-LABlab(95.20, -14.02, 65.40)
CIE-LCHlch(95.20, 66.89, 102.10°)
OKLaboklab(95.38% -0.043 0.151)
OKLCHoklch(95.38% 0.157 105.9)
XYZxyz(76.5916, 88.0889, 27.4333)
Luminance0.8809 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF66D #6D75FE
analogous
#FEAD6D #FEF66D #BDFE6D
triadic
#FEF66D #6DFEF6 #F66DFE
tetradic
#FEF66D #6DFEAD #6D75FE #FE6DBD
square
#FEF66D #6DFEAD #6D75FE #FE6DBD
split-complementary
#FEF66D #6DBDFE #AD6DFE
monochromatic
#EFE202 #FEF230 #FEF66D #FEFAAA #FFFDE1

Accessibility & contrast

On white

1.13
#FEF66D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.62
#FEF66D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF66D
18.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF66D#FFFFFF#000000##000000
##FEF66D1.001.1318.6218.62
#FFFFFF1.131.0021.0021.00
#00000018.6221.001.001.00
##00000018.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE5E
Deuteranopia (green-blind)
#FFF474
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef66d;
/* rgb */ color: rgb(254, 246, 109);
/* oklch */ color: oklch(95.4% 0.157 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff89b',
    500: '#fef66d',
    950: '#000000',
  },
}
SCSS
$custom: #fef66d;
$custom-light: #fff89b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef66d",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 109
  },
  "hsl": {
    "h": 56.69,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.95376,
    "c": 0.15702,
    "h": 105.9
  },
  "luminance": 0.88086
}

Semantic roles & 50–950 ramp

primary
#FEF66D
secondary
#353EDA
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF66D

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

Preview Lab → · Contrast checker → · Palette generator →

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