#F8FAC2#F8FAC2

#F8FAC2 is a very light, moderate yellow. Relative luminance 0.922; OKLCH L 97.0% C 0.072 H 109.4°. Best body text is #000000 at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#F8FAC2
RGBrgb(248, 250, 194)
HSLhsl(62, 85%, 87%)
HSVhsv(62, 22%, 98%)
CMYKcmyk(0.8%, 0%, 22.4%, 2%)
CIE-LABlab(96.91, -9.48, 26.73)
CIE-LCHlch(96.91, 28.36, 109.52°)
OKLaboklab(97% -0.0238 0.0678)
OKLCHoklch(97% 0.072 109.4)
XYZxyz(82.6342, 92.2236, 64.4762)
Luminance0.9222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAC2 #C4C2FA
analogous
#FAE0C2 #F8FAC2 #DCFAC2
triadic
#F8FAC2 #C2F8FA #FAC2F8
tetradic
#F8FAC2 #C2FAE0 #C4C2FA #FAC2DC
square
#F8FAC2 #C2FAE0 #C4C2FA #FAC2DC
split-complementary
#F8FAC2 #C2DCFA #E0C2FA
monochromatic
#EBF151 #F2F589 #F8FAC2 #FCFDE3 #FCFDE3

Accessibility & contrast

On white

1.08
#F8FAC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.44
#F8FAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAC2
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAC2#FFFFFF#000000##000000
##F8FAC21.001.0819.4419.44
#FFFFFF1.081.0021.0021.00
#00000019.4421.001.001.00
##00000019.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5BE
Deuteranopia (green-blind)
#FFF7C4
Tritanopia (blue-blind)
#FFF3EB
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f8fac2;
/* rgb */ color: rgb(248, 250, 194);
/* oklch */ color: oklch(97.0% 0.072 109.4);
Tailwind
colors: {
  custom: {
    50: '#fbfbd4',
    500: '#f8fac2',
    950: '#000000',
  },
}
SCSS
$custom: #f8fac2;
$custom-light: #fbfbd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fac2",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 62.143,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.97001,
    "c": 0.0719,
    "h": 109.4
  },
  "luminance": 0.92223
}

Semantic roles & 50–950 ramp

primary
#F8FAC2
secondary
#8581DF
accent
#04E10C
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #F8FAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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