#FAFFB2#FAFFB2

#FAFFB2 is a very light, moderate yellow. Relative luminance 0.951; OKLCH L 97.9% C 0.097 H 111.2°. Best body text is #000000 at 20.01:1 contrast (WCAG AA passes).

Color values

HEX#FAFFB2
RGBrgb(250, 255, 178)
HSLhsl(64, 100%, 85%)
HSVhsv(64, 30%, 100%)
CMYKcmyk(2%, 0%, 30.2%, 0%)
CIE-LABlab(98.06, -13.29, 36.34)
CIE-LCHlch(98.06, 38.69, 110.09°)
OKLaboklab(97.86% -0.0351 0.0906)
OKLCHoklch(97.86% 0.097 111.2)
XYZxyz(83.2204, 95.0594, 56.0751)
Luminance0.9506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFFB2 #B7B2FF
analogous
#FFDDB2 #FAFFB2 #D4FFB2
triadic
#FAFFB2 #B2FAFF #FFB2FA
tetradic
#FAFFB2 #B2FFDD #B7B2FF #FFB2D4
square
#FAFFB2 #B2FFDD #B7B2FF #FFB2D4
split-complementary
#FAFFB2 #B2D4FF #DDB2FF
monochromatic
#F2FF38 #F6FF75 #FAFFB2 #FDFFE0 #FDFFE0

Accessibility & contrast

On white

1.05
#FAFFB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.01
#FAFFB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFFB2
20.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFFB2#FFFFFF#000000##000000
##FAFFB21.001.0520.0120.01
#FFFFFF1.051.0021.0021.00
#00000020.0121.001.001.00
##00000020.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8AD
Deuteranopia (green-blind)
#FFFBB5
Tritanopia (blue-blind)
#FFF6EB
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #faffb2;
/* rgb */ color: rgb(250, 255, 178);
/* oklch */ color: oklch(97.9% 0.097 111.2);
Tailwind
colors: {
  custom: {
    50: '#fdffc9',
    500: '#faffb2',
    950: '#000000',
  },
}
SCSS
$custom: #faffb2;
$custom-light: #fdffc9;
$custom-dark: #000000;
JSON
{
  "hex": "#faffb2",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 178
  },
  "hsl": {
    "h": 63.896,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.97856,
    "c": 0.09714,
    "h": 111.2
  },
  "luminance": 0.95058
}

Semantic roles & 50–950 ramp

primary
#FAFFB2
secondary
#7770E6
accent
#00E60F
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181813
muted
#868682

Preview Lab

Preview with #FAFFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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