#FFFA66#FFFA66

#FFFA66 is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 96.2% C 0.166 H 107.3°. Best body text is #000000 at 19.12:1 contrast (WCAG AA passes).

Color values

HEX#FFFA66
RGBrgb(255, 250, 102)
HSLhsl(58, 100%, 70%)
HSVhsv(58, 60%, 100%)
CMYKcmyk(0%, 2%, 60%, 0%)
CIE-LABlab(96.24, -16.03, 69.51)
CIE-LCHlch(96.24, 71.34, 102.99°)
OKLaboklab(96.21% -0.0495 0.1589)
OKLCHoklch(96.21% 0.166 107.3)
XYZxyz(77.8264, 90.5929, 25.9544)
Luminance0.9059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFA66 #666BFF
analogous
#FFAD66 #FFFA66 #B8FF66
triadic
#FFFA66 #66FFFA #FA66FF
tetradic
#FFFA66 #66FFAD #666BFF #FF66B8
square
#FFFA66 #66FFAD #666BFF #FF66B8
split-complementary
#FFFA66 #66B8FF #AD66FF
monochromatic
#EBE300 #FFF829 #FFFA66 #FFFCA3 #FFFEE0

Accessibility & contrast

On white

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

On black

19.12
#FFFA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFA66
19.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFA66#FFFFFF#000000##000000
##FFFA661.001.1019.1219.12
#FFFFFF1.101.0021.0021.00
#00000019.1221.001.001.00
##00000019.1221.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: #fffa66;
/* rgb */ color: rgb(255, 250, 102);
/* oklch */ color: oklch(96.2% 0.166 107.3);
Tailwind
colors: {
  custom: {
    50: '#fffb97',
    500: '#fffa66',
    950: '#000000',
  },
}
SCSS
$custom: #fffa66;
$custom-light: #fffb97;
$custom-dark: #000000;
JSON
{
  "hex": "#fffa66",
  "rgb": {
    "r": 255,
    "g": 250,
    "b": 102
  },
  "hsl": {
    "h": 58.039,
    "s": 100,
    "l": 70
  },
  "oklch": {
    "l": 0.96207,
    "c": 0.1664,
    "h": 107.3
  },
  "luminance": 0.90591
}

Semantic roles & 50–950 ramp

primary
#FFFA66
secondary
#2F35DA
accent
#08E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#19170E
muted
#87857F

Preview Lab

Preview with #FFFA66

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

Preview Lab → · Contrast checker → · Palette generator →

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