#FEFB66#FEFB66

#FEFB66 is a very light, vivid yellow. Relative luminance 0.910; OKLCH L 96.3% C 0.168 H 108.1°. Best body text is #000000 at 19.20:1 contrast (WCAG AA passes).

Color values

HEX#FEFB66
RGBrgb(254, 251, 102)
HSLhsl(59, 99%, 70%)
HSVhsv(59, 60%, 100%)
CMYKcmyk(0%, 1.2%, 59.8%, 0.4%)
CIE-LABlab(96.42, -16.91, 69.68)
CIE-LCHlch(96.42, 71.71, 103.64°)
OKLaboklab(96.33% -0.052 0.1592)
OKLCHoklch(96.33% 0.168 108.1)
XYZxyz(77.7710, 91.0268, 26.0410)
Luminance0.9103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FEFB66 #6669FE
analogous
#FEAF66 #FEFB66 #B5FE66
triadic
#FEFB66 #66FEFB #FB66FE
tetradic
#FEFB66 #66FEAF #6669FE #FE66B5
square
#FEFB66 #66FEAF #6669FE #FE66B5
split-complementary
#FEFB66 #66B5FE #AF66FE
monochromatic
#E8E402 #FEF929 #FEFB66 #FEFDA3 #FFFEE0

Accessibility & contrast

On white

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

On black

19.20
#FEFB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FEFB66
19.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FEFB66#FFFFFF#000000##000000
##FEFB661.001.0919.2019.20
#FFFFFF1.091.0021.0021.00
#00000019.2021.001.001.00
##00000019.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fefb66;
/* rgb */ color: rgb(254, 251, 102);
/* oklch */ color: oklch(96.3% 0.168 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffc97',
    500: '#fefb66',
    950: '#000000',
  },
}
SCSS
$custom: #fefb66;
$custom-light: #fffc97;
$custom-dark: #000000;
JSON
{
  "hex": "#fefb66",
  "rgb": {
    "r": 254,
    "g": 251,
    "b": 102
  },
  "hsl": {
    "h": 58.816,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.96331,
    "c": 0.16751,
    "h": 108.1
  },
  "luminance": 0.91025
}

Semantic roles & 50–950 ramp

primary
#FEFB66
secondary
#2F33D9
accent
#05E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FEFB66

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

Preview Lab → · Contrast checker → · Palette generator →

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