#FEF66F#FEF66F

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

Color values

HEX#FEF66F
RGBrgb(254, 246, 111)
HSLhsl(57, 99%, 72%)
HSVhsv(57, 56%, 100%)
CMYKcmyk(0%, 3.1%, 56.3%, 0.4%)
CIE-LABlab(95.22, -13.88, 64.56)
CIE-LCHlch(95.22, 66.03, 102.13°)
OKLaboklab(95.4% -0.0424 0.1494)
OKLCHoklch(95.4% 0.155 105.8)
XYZxyz(76.7005, 88.1325, 28.0068)
Luminance0.8813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEF66F #6F77FE
analogous
#FEAF6F #FEF66F #BFFE6F
triadic
#FEF66F #6FFEF6 #F66FFE
tetradic
#FEF66F #6FFEAF #6F77FE #FE6FBF
square
#FEF66F #6FFEAF #6F77FE #FE6FBF
split-complementary
#FEF66F #6FBFFE #AF6FFE
monochromatic
#F1E402 #FEF232 #FEF66F #FEFAAC #FFFDE1

Accessibility & contrast

On white

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

On black

18.63
#FEF66F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEF66F
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEF66F#FFFFFF#000000##000000
##FEF66F1.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE61
Deuteranopia (green-blind)
#FFF476
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fef66f;
/* rgb */ color: rgb(254, 246, 111);
/* oklch */ color: oklch(95.4% 0.155 105.8);
Tailwind
colors: {
  custom: {
    50: '#fff89d',
    500: '#fef66f',
    950: '#000000',
  },
}
SCSS
$custom: #fef66f;
$custom-light: #fff89d;
$custom-dark: #000000;
JSON
{
  "hex": "#fef66f",
  "rgb": {
    "r": 254,
    "g": 246,
    "b": 111
  },
  "hsl": {
    "h": 56.643,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95397,
    "c": 0.15534,
    "h": 105.8
  },
  "luminance": 0.8813
}

Semantic roles & 50–950 ramp

primary
#FEF66F
secondary
#3740DA
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #FEF66F

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

Preview Lab → · Contrast checker → · Palette generator →

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