#FAFF8A#FAFF8A

#FAFF8A is a very light, vivid yellow. Relative luminance 0.937; OKLCH L 97.2% C 0.140 H 110.9°. Best body text is #000000 at 19.74:1 contrast (WCAG AA passes).

Color values

HEX#FAFF8A
RGBrgb(250, 255, 138)
HSLhsl(63, 100%, 77%)
HSVhsv(63, 46%, 100%)
CMYKcmyk(2%, 0%, 45.9%, 0%)
CIE-LABlab(97.50, -17.60, 54.98)
CIE-LCHlch(97.50, 57.73, 107.75°)
OKLaboklab(97.23% -0.0501 0.1312)
OKLCHoklch(97.23% 0.14 110.9)
XYZxyz(79.7732, 93.6805, 37.9196)
Luminance0.9368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF8A #8F8AFF
analogous
#FFCA8A #FAFF8A #C0FF8A
triadic
#FAFF8A #8AFAFF #FF8AFA
tetradic
#FAFF8A #8AFFCA #8F8AFF #FF8AC0
square
#FAFF8A #8AFFCA #8F8AFF #FF8AC0
split-complementary
#FAFF8A #8AC0FF #CA8AFF
monochromatic
#F5FF10 #F7FF4D #FAFF8A #FDFFC7 #FEFFE0

Accessibility & contrast

On white

1.06
#FAFF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.74
#FAFF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF8A
19.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF8A#FFFFFF#000000##000000
##FAFF8A1.001.0619.7419.74
#FFFFFF1.061.0021.0021.00
#00000019.7421.001.001.00
##00000019.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF680
Deuteranopia (green-blind)
#FFFA90
Tritanopia (blue-blind)
#FFF3E4
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faff8a;
/* rgb */ color: rgb(250, 255, 138);
/* oklch */ color: oklch(97.2% 0.140 110.9);
Tailwind
colors: {
  custom: {
    50: '#feffae',
    500: '#faff8a',
    950: '#000000',
  },
}
SCSS
$custom: #faff8a;
$custom-light: #feffae;
$custom-dark: #000000;
JSON
{
  "hex": "#faff8a",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 138
  },
  "hsl": {
    "h": 62.564,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.97234,
    "c": 0.14048,
    "h": 110.9
  },
  "luminance": 0.93679
}

Semantic roles & 50–950 ramp

primary
#FAFF8A
secondary
#544EE0
accent
#00E60A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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