#FEFA66#FEFA66

#FEFA66 is a very light, vivid yellow. Relative luminance 0.904; OKLCH L 96.1% C 0.167 H 107.7°. Best body text is #000000 at 19.08:1 contrast (WCAG AA passes).

Color values

HEX#FEFA66
RGBrgb(254, 250, 102)
HSLhsl(58, 99%, 70%)
HSVhsv(58, 60%, 100%)
CMYKcmyk(0%, 1.6%, 59.8%, 0.4%)
CIE-LABlab(96.16, -16.43, 69.41)
CIE-LCHlch(96.16, 71.32, 103.32°)
OKLaboklab(96.13% -0.0506 0.1587)
OKLCHoklch(96.13% 0.167 107.7)
XYZxyz(77.4594, 90.4037, 25.9372)
Luminance0.9040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFA66 #666AFE
analogous
#FEAE66 #FEFA66 #B6FE66
triadic
#FEFA66 #66FEFA #FA66FE
tetradic
#FEFA66 #66FEAE #666AFE #FE66B6
square
#FEFA66 #66FEAE #666AFE #FE66B6
split-complementary
#FEFA66 #66B6FE #AE66FE
monochromatic
#E8E202 #FEF829 #FEFA66 #FEFCA3 #FFFEE0

Accessibility & contrast

On white

1.10
#FEFA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.08
#FEFA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFA66
19.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFA66#FFFFFF#000000##000000
##FEFA661.001.1019.0819.08
#FFFFFF1.101.0021.0021.00
#00000019.0821.001.001.00
##00000019.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF155
Deuteranopia (green-blind)
#FFF76F
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fefa66;
/* rgb */ color: rgb(254, 250, 102);
/* oklch */ color: oklch(96.1% 0.167 107.7);
Tailwind
colors: {
  custom: {
    50: '#fffb97',
    500: '#fefa66',
    950: '#000000',
  },
}
SCSS
$custom: #fefa66;
$custom-light: #fffb97;
$custom-dark: #000000;
JSON
{
  "hex": "#fefa66",
  "rgb": {
    "r": 254,
    "g": 250,
    "b": 102
  },
  "hsl": {
    "h": 58.421,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.96126,
    "c": 0.16653,
    "h": 107.7
  },
  "luminance": 0.90401
}

Semantic roles & 50–950 ramp

primary
#FEFA66
secondary
#2F34D9
accent
#06E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFA66

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

Preview Lab → · Contrast checker → · Palette generator →

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