#FFF666#FFF666

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

Color values

HEX#FFF666
RGBrgb(255, 246, 102)
HSLhsl(56, 100%, 70%)
HSVhsv(56, 60%, 100%)
CMYKcmyk(0%, 3.5%, 60%, 0%)
CIE-LABlab(95.22, -14.09, 68.40)
CIE-LCHlch(95.22, 69.84, 101.64°)
OKLaboklab(95.39% -0.044 0.1565)
OKLCHoklch(95.39% 0.163 105.7)
XYZxyz(76.5966, 88.1334, 25.5444)
Luminance0.8813 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFF666 #666FFF
analogous
#FFAA66 #FFF666 #BBFF66
triadic
#FFF666 #66FFF6 #F666FF
tetradic
#FFF666 #66FFAA #666FFF #FF66BB
square
#FFF666 #66FFAA #666FFF #FF66BB
split-complementary
#FFF666 #66BBFF #AA66FF
monochromatic
#EBDD00 #FFF229 #FFF666 #FFFAA3 #FFFDE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##FFF666#FFFFFF#000000##000000
##FFF6661.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)
#FFEE55
Deuteranopia (green-blind)
#FFF46E
Tritanopia (blue-blind)
#FFE7D7
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #fff666;
/* rgb */ color: rgb(255, 246, 102);
/* oklch */ color: oklch(95.4% 0.163 105.7);
Tailwind
colors: {
  custom: {
    50: '#fff897',
    500: '#fff666',
    950: '#000000',
  },
}
SCSS
$custom: #fff666;
$custom-light: #fff897;
$custom-dark: #000000;
JSON
{
  "hex": "#fff666",
  "rgb": {
    "r": 255,
    "g": 246,
    "b": 102
  },
  "hsl": {
    "h": 56.471,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.95391,
    "c": 0.16256,
    "h": 105.7
  },
  "luminance": 0.88131
}

Semantic roles & 50–950 ramp

primary
#FFF666
secondary
#2F39DA
accent
#0DE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFF666

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

Preview Lab → · Contrast checker → · Palette generator →

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