#FAFB66#FAFB66

#FAFB66 is a very light, vivid yellow. Relative luminance 0.903; OKLCH L 96.0% C 0.168 H 109.6°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#FAFB66
RGBrgb(250, 251, 102)
HSLhsl(60, 95%, 69%)
HSVhsv(60, 59%, 98%)
CMYKcmyk(0.4%, 0%, 59.4%, 1.6%)
CIE-LABlab(96.11, -18.51, 69.26)
CIE-LCHlch(96.11, 71.69, 104.96°)
OKLaboklab(96.01% -0.0563 0.1584)
OKLCHoklch(96.01% 0.168 109.6)
XYZxyz(76.3221, 90.2797, 25.9731)
Luminance0.9028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFB66 #6766FB
analogous
#FBB266 #FAFB66 #B0FB66
triadic
#FAFB66 #66FAFB #FB66FA
tetradic
#FAFB66 #66FBB2 #6766FB #FB66B0
square
#FAFB66 #66FBB2 #6766FB #FB66B0
split-complementary
#FAFB66 #66B0FB #B266FB
monochromatic
#DFE106 #F8F92A #FAFB66 #FCFDA2 #FEFEDD

Accessibility & contrast

On white

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

On black

19.06
#FAFB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFB66
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFB66#FFFFFF#000000##000000
##FAFB661.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF154
Deuteranopia (green-blind)
#FFF66F
Tritanopia (blue-blind)
#FFECDB
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #fafb66;
/* rgb */ color: rgb(250, 251, 102);
/* oklch */ color: oklch(96.0% 0.168 109.6);
Tailwind
colors: {
  custom: {
    50: '#fffc97',
    500: '#fafb66',
    950: '#000000',
  },
}
SCSS
$custom: #fafb66;
$custom-light: #fffc97;
$custom-dark: #000000;
JSON
{
  "hex": "#fafb66",
  "rgb": {
    "r": 250,
    "g": 251,
    "b": 102
  },
  "hsl": {
    "h": 60.403,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9601,
    "c": 0.16812,
    "h": 109.6
  },
  "luminance": 0.90278
}

Semantic roles & 50–950 ramp

primary
#FAFB66
secondary
#3130D5
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAFB66

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

Preview Lab → · Contrast checker → · Palette generator →

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