#FAFFAF#FAFFAF

#FAFFAF is a very light, moderate yellow. Relative luminance 0.949; OKLCH L 97.8% C 0.101 H 111.1°. Best body text is #000000 at 19.99:1 contrast (WCAG AA passes).

Color values

HEX#FAFFAF
RGBrgb(250, 255, 175)
HSLhsl(64, 100%, 84%)
HSVhsv(64, 31%, 100%)
CMYKcmyk(2%, 0%, 31.4%, 0%)
CIE-LABlab(98.01, -13.66, 37.77)
CIE-LCHlch(98.01, 40.16, 109.88°)
OKLaboklab(97.8% -0.0363 0.0939)
OKLCHoklch(97.8% 0.101 111.1)
XYZxyz(82.9225, 94.9403, 54.5061)
Luminance0.9494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FAFFAF #B4AFFF
analogous
#FFDCAF #FAFFAF #D2FFAF
triadic
#FAFFAF #AFFAFF #FFAFFA
tetradic
#FAFFAF #AFFFDC #B4AFFF #FFAFD2
square
#FAFFAF #AFFFDC #B4AFFF #FFAFD2
split-complementary
#FAFFAF #AFD2FF #DCAFFF
monochromatic
#F2FF35 #F6FF72 #FAFFAF #FDFFE0 #FDFFE0

Accessibility & contrast

On white

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

On black

19.99
#FAFFAF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FAFFAF
19.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FAFFAF#FFFFFF#000000##000000
##FAFFAF1.001.0519.9919.99
#FFFFFF1.051.0021.0021.00
#00000019.9921.001.001.00
##00000019.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8A9
Deuteranopia (green-blind)
#FFFBB2
Tritanopia (blue-blind)
#FFF6EA
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #faffaf;
/* rgb */ color: rgb(250, 255, 175);
/* oklch */ color: oklch(97.8% 0.101 111.1);
Tailwind
colors: {
  custom: {
    50: '#fdffc7',
    500: '#faffaf',
    950: '#000000',
  },
}
SCSS
$custom: #faffaf;
$custom-light: #fdffc7;
$custom-dark: #000000;
JSON
{
  "hex": "#faffaf",
  "rgb": {
    "r": 250,
    "g": 255,
    "b": 175
  },
  "hsl": {
    "h": 63.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.97802,
    "c": 0.10062,
    "h": 111.1
  },
  "luminance": 0.94939
}

Semantic roles & 50–950 ramp

primary
#FAFFAF
secondary
#746DE5
accent
#00E60E
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#181813
muted
#868682

Preview Lab

Preview with #FAFFAF

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

Preview Lab → · Contrast checker → · Palette generator →

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