#FAFE66#FAFE66

#FAFE66 is a very light, vivid yellow. Relative luminance 0.922; OKLCH L 96.6% C 0.171 H 110.6°. Best body text is #000000 at 19.43:1 contrast (WCAG AA passes).

Color values

HEX#FAFE66
RGBrgb(250, 254, 102)
HSLhsl(62, 99%, 70%)
HSVhsv(62, 60%, 100%)
CMYKcmyk(1.6%, 0%, 59.8%, 0.4%)
CIE-LABlab(96.89, -19.95, 70.10)
CIE-LCHlch(96.89, 72.88, 105.88°)
OKLaboklab(96.63% -0.0603 0.1602)
OKLCHoklch(96.63% 0.171 110.6)
XYZxyz(77.2666, 92.1688, 26.2879)
Luminance0.9217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE66 #6A66FE
analogous
#FEB666 #FAFE66 #AEFE66
triadic
#FAFE66 #66FAFE #FE66FA
tetradic
#FAFE66 #66FEB6 #6A66FE #FE66AE
square
#FAFE66 #66FEB6 #6A66FE #FE66AE
split-complementary
#FAFE66 #66AEFE #B666FE
monochromatic
#E2E802 #F8FE29 #FAFE66 #FCFEA3 #FEFFE0

Accessibility & contrast

On white

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

On black

19.43
#FAFE66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE66
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE66#FFFFFF#000000##000000
##FAFE661.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #fafe66;
/* rgb */ color: rgb(250, 254, 102);
/* oklch */ color: oklch(96.6% 0.171 110.6);
Tailwind
colors: {
  custom: {
    50: '#fffe98',
    500: '#fafe66',
    950: '#000000',
  },
}
SCSS
$custom: #fafe66;
$custom-light: #fffe98;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe66",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 102
  },
  "hsl": {
    "h": 61.579,
    "s": 98.701,
    "l": 69.804
  },
  "oklch": {
    "l": 0.9663,
    "c": 0.17119,
    "h": 110.6
  },
  "luminance": 0.92167
}

Semantic roles & 50–950 ramp

primary
#FAFE66
secondary
#342FD9
accent
#00E606
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #FAFE66

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

Preview Lab → · Contrast checker → · Palette generator →

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