#FFFFF2#FFFFF2

#FFFFF2 is a very light, near-neutral yellow. Relative luminance 0.992; OKLCH L 99.7% C 0.017 H 106.7°. Best body text is #000000 at 20.84:1 contrast (WCAG AA passes).

Color values

HEX#FFFFF2
RGBrgb(255, 255, 242)
HSLhsl(60, 100%, 97%)
HSVhsv(60, 5%, 100%)
CMYKcmyk(0%, 0%, 5.1%, 0%)
CIE-LABlab(99.69, -2.22, 6.21)
CIE-LCHlch(99.69, 6.59, 109.68°)
OKLaboklab(99.65% -0.0049 0.0163)
OKLCHoklch(99.65% 0.017 106.7)
XYZxyz(93.0247, 99.1911, 98.2323)
Luminance0.9919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#FFFFF2 #F2F2FF
analogous
#FFF9F2 #FFFFF2 #F9FFF2
triadic
#FFFFF2 #F2FFFF #FFF2FF
tetradic
#FFFFF2 #F2FFF9 #F2F2FF #FFF2F9
square
#FFFFF2 #F2FFF9 #F2F2FF #FFF2F9
split-complementary
#FFFFF2 #F2F9FF #F9F2FF
monochromatic
#FFFF78 #FFFFB5 #FFFFE0 #FFFFE0 #FFFFE0

Accessibility & contrast

On white

1.01
#FFFFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

20.84
#FFFFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #FFFFF2
20.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##FFFFF2#FFFFFF#000000##000000
##FFFFF21.001.0120.8420.84
#FFFFFF1.011.0021.0021.00
#00000020.8421.001.001.00
##00000020.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFFEF1
Deuteranopia (green-blind)
#FFFEF2
Tritanopia (blue-blind)
#FFFDFB
Achromatopsia (no color)
#FEFEFE

Design tokens & code

CSS
--color: #fffff2;
/* rgb */ color: rgb(255, 255, 242);
/* oklch */ color: oklch(99.7% 0.017 106.7);
Tailwind
colors: {
  custom: {
    50: '#fffff6',
    500: '#fffff2',
    950: '#000000',
  },
}
SCSS
$custom: #fffff2;
$custom-light: #fffff6;
$custom-dark: #000000;
JSON
{
  "hex": "#fffff2",
  "rgb": {
    "r": 255,
    "g": 255,
    "b": 242
  },
  "hsl": {
    "h": 60,
    "s": 100,
    "l": 97.451
  },
  "oklch": {
    "l": 0.9965,
    "c": 0.01702,
    "h": 106.7
  },
  "luminance": 0.99191
}

Semantic roles & 50–950 ramp

primary
#FFFFF2
secondary
#A6A6EF
accent
#00E600
background
#FFFFFF
surface
#FFFFFE
border
#D7D7D6
text
#181817
muted
#868685

Preview Lab

Preview with #FFFFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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