#FAFE88#FAFE88

#FAFE88 is a very light, vivid yellow. Relative luminance 0.930; OKLCH L 97.0% C 0.141 H 110.5°. Best body text is #000000 at 19.60:1 contrast (WCAG AA passes).

Color values

HEX#FAFE88
RGBrgb(250, 254, 136)
HSLhsl(62, 98%, 76%)
HSVhsv(62, 46%, 100%)
CMYKcmyk(1.6%, 0%, 46.5%, 0.4%)
CIE-LABlab(97.22, -17.30, 55.57)
CIE-LCHlch(97.22, 58.20, 107.29°)
OKLaboklab(97% -0.0494 0.1324)
OKLCHoklch(97% 0.141 110.5)
XYZxyz(79.3116, 92.9868, 37.0580)
Luminance0.9298 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFE88 #8C88FE
analogous
#FEC788 #FAFE88 #BFFE88
triadic
#FAFE88 #88FAFE #FE88FA
tetradic
#FAFE88 #88FEC7 #8C88FE #FE88BF
square
#FAFE88 #88FEC7 #8C88FE #FE88BF
split-complementary
#FAFE88 #88BFFE #C788FE
monochromatic
#F5FD0F #F7FD4B #FAFE88 #FDFFC5 #FEFFE1

Accessibility & contrast

On white

1.07
#FAFE88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.60
#FAFE88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFE88
19.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFE88#FFFFFF#000000##000000
##FAFE881.001.0719.6019.60
#FFFFFF1.071.0021.0021.00
#00000019.6021.001.001.00
##00000019.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF57E
Deuteranopia (green-blind)
#FFF98E
Tritanopia (blue-blind)
#FFF2E3
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #fafe88;
/* rgb */ color: rgb(250, 254, 136);
/* oklch */ color: oklch(97.0% 0.141 110.5);
Tailwind
colors: {
  custom: {
    50: '#fefead',
    500: '#fafe88',
    950: '#000000',
  },
}
SCSS
$custom: #fafe88;
$custom-light: #fefead;
$custom-dark: #000000;
JSON
{
  "hex": "#fafe88",
  "rgb": {
    "r": 250,
    "g": 254,
    "b": 136
  },
  "hsl": {
    "h": 62.034,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.97003,
    "c": 0.14131,
    "h": 110.5
  },
  "luminance": 0.92985
}

Semantic roles & 50–950 ramp

primary
#FAFE88
secondary
#514CDE
accent
#00E608
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFE88

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

Preview Lab → · Contrast checker → · Palette generator →

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