#FAFFA2#FAFFA2

#FAFFA2 is a very light, moderate yellow. Relative luminance 0.945; OKLCH L 97.6% C 0.115 H 111.0°. Best body text is #000000 at 19.89:1 contrast (WCAG AA passes).

Color values

HEX#FAFFA2
RGBrgb(250, 255, 162)
HSLhsl(63, 100%, 82%)
HSVhsv(63, 36%, 100%)
CMYKcmyk(2%, 0%, 36.5%, 0%)
CIE-LABlab(97.81, -15.16, 43.91)
CIE-LCHlch(97.81, 46.45, 109.05°)
OKLaboklab(97.58% -0.0413 0.1077)
OKLCHoklch(97.58% 0.115 111)
XYZxyz(81.7067, 94.4539, 48.1026)
Luminance0.9445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFFA2 #A7A2FF
analogous
#FFD6A2 #FAFFA2 #CCFFA2
triadic
#FAFFA2 #A2FAFF #FFA2FA
tetradic
#FAFFA2 #A2FFD6 #A7A2FF #FFA2CC
square
#FAFFA2 #A2FFD6 #A7A2FF #FFA2CC
split-complementary
#FAFFA2 #A2CCFF #D6A2FF
monochromatic
#F3FF28 #F7FF65 #FAFFA2 #FDFFDF #FDFFE0

Accessibility & contrast

On white

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

On black

19.89
#FAFFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFFA2
19.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFFA2#FFFFFF#000000##000000
##FAFFA21.001.0619.8919.89
#FFFFFF1.061.0021.0021.00
#00000019.8921.001.001.00
##00000019.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF79B
Deuteranopia (green-blind)
#FFFAA6
Tritanopia (blue-blind)
#FFF5E8
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #faffa2;
/* rgb */ color: rgb(250, 255, 162);
/* oklch */ color: oklch(97.6% 0.115 111.0);
Tailwind
colors: {
  custom: {
    50: '#fdffbe',
    500: '#faffa2',
    950: '#000000',
  },
}
SCSS
$custom: #faffa2;
$custom-light: #fdffbe;
$custom-dark: #000000;
JSON
{
  "hex": "#faffa2",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 162
  },
  "hsl": {
    "h": 63.226,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.97584,
    "c": 0.11531,
    "h": 111
  },
  "luminance": 0.94453
}

Semantic roles & 50–950 ramp

primary
#FAFFA2
secondary
#6962E3
accent
#00E60C
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181712
muted
#868582

Preview Lab

Preview with #FAFFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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