#FEFC66#FEFC66

#FEFC66 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.5% C 0.168 H 108.5°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#FEFC66
RGBrgb(254, 252, 102)
HSLhsl(59, 99%, 70%)
HSVhsv(59, 60%, 100%)
CMYKcmyk(0%, 0.8%, 59.8%, 0.4%)
CIE-LABlab(96.68, -17.40, 69.96)
CIE-LCHlch(96.68, 72.09, 103.96°)
OKLaboklab(96.54% -0.0533 0.1598)
OKLCHoklch(96.54% 0.168 108.5)
XYZxyz(78.0842, 91.6532, 26.1454)
Luminance0.9165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFC66 #6668FE
analogous
#FEB066 #FEFC66 #B4FE66
triadic
#FEFC66 #66FEFC #FC66FE
tetradic
#FEFC66 #66FEB0 #6668FE #FE66B4
square
#FEFC66 #66FEB0 #6668FE #FE66B4
split-complementary
#FEFC66 #66B4FE #B066FE
monochromatic
#E8E502 #FEFB29 #FEFC66 #FEFDA3 #FFFEE0

Accessibility & contrast

On white

1.09
#FEFC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.33
#FEFC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFC66
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFC66#FFFFFF#000000##000000
##FEFC661.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF254
Deuteranopia (green-blind)
#FFF86F
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #fefc66;
/* rgb */ color: rgb(254, 252, 102);
/* oklch */ color: oklch(96.5% 0.168 108.5);
Tailwind
colors: {
  custom: {
    50: '#fffd97',
    500: '#fefc66',
    950: '#000000',
  },
}
SCSS
$custom: #fefc66;
$custom-light: #fffd97;
$custom-dark: #000000;
JSON
{
  "hex": "#fefc66",
  "rgb": {
    "r": 254,
    "g": 252,
    "b": 102
  },
  "hsl": {
    "h": 59.211,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.96536,
    "c": 0.16849,
    "h": 108.5
  },
  "luminance": 0.91651
}

Semantic roles & 50–950 ramp

primary
#FEFC66
secondary
#2F31D9
accent
#03E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFC66

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

Preview Lab → · Contrast checker → · Palette generator →

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