#FAFF87#FAFF87

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

Color values

HEX#FAFF87
RGBrgb(250, 255, 135)
HSLhsl(63, 100%, 76%)
HSVhsv(63, 47%, 100%)
CMYKcmyk(2%, 0%, 47.1%, 0%)
CIE-LABlab(97.47, -17.87, 56.33)
CIE-LCHlch(97.47, 59.10, 107.60°)
OKLaboklab(97.2% -0.0512 0.134)
OKLCHoklch(97.2% 0.143 110.9)
XYZxyz(79.5590, 93.5948, 36.7915)
Luminance0.9359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFF87 #8C87FF
analogous
#FFC887 #FAFF87 #BEFF87
triadic
#FAFF87 #87FAFF #FF87FA
tetradic
#FAFF87 #87FFC8 #8C87FF #FF87BE
square
#FAFF87 #87FFC8 #8C87FF #FF87BE
split-complementary
#FAFF87 #87BEFF #C887FF
monochromatic
#F5FF0D #F7FF4A #FAFF87 #FDFFC4 #FEFFE0

Accessibility & contrast

On white

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

On black

19.72
#FAFF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFF87
19.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFF87#FFFFFF#000000##000000
##FAFF871.001.0619.7219.72
#FFFFFF1.061.0021.0021.00
#00000019.7221.001.001.00
##00000019.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF67C
Deuteranopia (green-blind)
#FFFA8D
Tritanopia (blue-blind)
#FFF2E3
Achromatopsia (no color)
#F8F8F8

Design tokens & code

CSS
--color: #faff87;
/* rgb */ color: rgb(250, 255, 135);
/* oklch */ color: oklch(97.2% 0.143 110.9);
Tailwind
colors: {
  custom: {
    50: '#feffac',
    500: '#faff87',
    950: '#000000',
  },
}
SCSS
$custom: #faff87;
$custom-light: #feffac;
$custom-dark: #000000;
JSON
{
  "hex": "#faff87",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 135
  },
  "hsl": {
    "h": 62.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.97195,
    "c": 0.14341,
    "h": 110.9
  },
  "luminance": 0.93593
}

Semantic roles & 50–950 ramp

primary
#FAFF87
secondary
#514BDF
accent
#00E60A
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #FAFF87

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

Preview Lab → · Contrast checker → · Palette generator →

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