#FEF66C#FEF66C

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

Color values

HEX#FEF66C
RGBrgb(254, 246, 108)
HSLhsl(57, 99%, 71%)
HSVhsv(57, 57%, 100%)
CMYKcmyk(0%, 3.1%, 57.5%, 0.4%)
CIE-LABlab(95.19, -14.09, 65.82)
CIE-LCHlch(95.19, 67.31, 102.08°)
OKLaboklab(95.37% -0.0433 0.1518)
OKLCHoklch(95.37% 0.158 105.9)
XYZxyz(76.5380, 88.0675, 27.1514)
Luminance0.8807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF66C #6C74FE
analogous
#FEAD6C #FEF66C #BDFE6C
triadic
#FEF66C #6CFEF6 #F66CFE
tetradic
#FEF66C #6CFEAD #6C74FE #FE6CBD
square
#FEF66C #6CFEAD #6C74FE #FE6CBD
split-complementary
#FEF66C #6CBDFE #AD6CFE
monochromatic
#EEE102 #FEF22F #FEF66C #FEFAA9 #FFFDE1

Accessibility & contrast

On white

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

On black

18.61
#FEF66C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF66C
18.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF66C#FFFFFF#000000##000000
##FEF66C1.001.1318.6118.61
#FFFFFF1.131.0021.0021.00
#00000018.6121.001.001.00
##00000018.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fef66c;
/* rgb */ color: rgb(254, 246, 108);
/* oklch */ color: oklch(95.4% 0.158 105.9);
Tailwind
colors: {
  custom: {
    50: '#fff89b',
    500: '#fef66c',
    950: '#000000',
  },
}
SCSS
$custom: #fef66c;
$custom-light: #fff89b;
$custom-dark: #000000;
JSON
{
  "hex": "#fef66c",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 108
  },
  "hsl": {
    "h": 56.712,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.95366,
    "c": 0.15784,
    "h": 105.9
  },
  "luminance": 0.88065
}

Semantic roles & 50–950 ramp

primary
#FEF66C
secondary
#343DDA
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEF66C

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

Preview Lab → · Contrast checker → · Palette generator →

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