#F8FAC3#F8FAC3

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

Color values

HEX#F8FAC3
RGBrgb(248, 250, 195)
HSLhsl(62, 85%, 87%)
HSVhsv(62, 22%, 98%)
CMYKcmyk(0.8%, 0%, 22%, 2%)
CIE-LABlab(96.93, -9.34, 26.24)
CIE-LCHlch(96.93, 27.86, 109.59°)
OKLaboklab(97.02% -0.0234 0.0667)
OKLCHoklch(97.02% 0.071 109.4)
XYZxyz(82.7469, 92.2687, 65.0697)
Luminance0.9227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FAC3 #C5C3FA
analogous
#FAE1C3 #F8FAC3 #DDFAC3
triadic
#F8FAC3 #C3F8FA #FAC3F8
tetradic
#F8FAC3 #C3FAE1 #C5C3FA #FAC3DD
square
#F8FAC3 #C3FAE1 #C5C3FA #FAC3DD
split-complementary
#F8FAC3 #C3DDFA #E1C3FA
monochromatic
#EBF152 #F1F58B #F8FAC3 #FCFDE3 #FCFDE3

Accessibility & contrast

On white

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

On black

19.45
#F8FAC3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FAC3
19.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FAC3#FFFFFF#000000##000000
##F8FAC31.001.0819.4519.45
#FFFFFF1.081.0021.0021.00
#00000019.4521.001.001.00
##00000019.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8fac3;
/* rgb */ color: rgb(248, 250, 195);
/* oklch */ color: oklch(97.0% 0.071 109.4);
Tailwind
colors: {
  custom: {
    50: '#fbfbd5',
    500: '#f8fac3',
    950: '#000000',
  },
}
SCSS
$custom: #f8fac3;
$custom-light: #fbfbd5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fac3",
  "rgb": {
    "r": 248,
    "g": 250,
    "b": 195
  },
  "hsl": {
    "h": 62.182,
    "s": 84.615,
    "l": 87.255
  },
  "oklch": {
    "l": 0.97021,
    "c": 0.07067,
    "h": 109.4
  },
  "luminance": 0.92268
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8FAC3

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

Preview Lab → · Contrast checker → · Palette generator →

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