#FFFC66#FFFC66

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

Color values

HEX#FFFC66
RGBrgb(255, 252, 102)
HSLhsl(59, 100%, 70%)
HSVhsv(59, 60%, 100%)
CMYKcmyk(0%, 1.2%, 60%, 0%)
CIE-LABlab(96.76, -17.00, 70.07)
CIE-LCHlch(96.76, 72.10, 103.64°)
OKLaboklab(96.62% -0.0523 0.16)
OKLCHoklch(96.62% 0.168 108.1)
XYZxyz(78.4512, 91.8424, 26.1626)
Luminance0.9184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFC66 #6669FF
analogous
#FFB066 #FFFC66 #B5FF66
triadic
#FFFC66 #66FFFC #FC66FF
tetradic
#FFFC66 #66FFB0 #6669FF #FF66B5
square
#FFFC66 #66FFB0 #6669FF #FF66B5
split-complementary
#FFFC66 #66B5FF #B066FF
monochromatic
#EBE600 #FFFB29 #FFFC66 #FFFDA3 #FFFEE0

Accessibility & contrast

On white

1.08
#FFFC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.37
#FFFC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFC66
19.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFC66#FFFFFF#000000##000000
##FFFC661.001.0819.3719.37
#FFFFFF1.081.0021.0021.00
#00000019.3721.001.001.00
##00000019.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fffc66;
/* rgb */ color: rgb(255, 252, 102);
/* oklch */ color: oklch(96.6% 0.168 108.1);
Tailwind
colors: {
  custom: {
    50: '#fffd97',
    500: '#fffc66',
    950: '#000000',
  },
}
SCSS
$custom: #fffc66;
$custom-light: #fffd97;
$custom-dark: #000000;
JSON
{
  "hex": "#fffc66",
  "rgb": {
    "r": 255,
    "g": 252,
    "b": 102
  },
  "hsl": {
    "h": 58.824,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.96617,
    "c": 0.16835,
    "h": 108.1
  },
  "luminance": 0.9184
}

Semantic roles & 50–950 ramp

primary
#FFFC66
secondary
#2F32DA
accent
#04E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFFC66

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

Preview Lab → · Contrast checker → · Palette generator →

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