#F7FAC2#F7FAC2

#F7FAC2 is a very light, moderate yellow. Relative luminance 0.920; OKLCH L 96.9% C 0.072 H 110.2°. Best body text is #000000 at 19.41:1 contrast (WCAG AA passes).

Color values

HEX#F7FAC2
RGBrgb(247, 250, 194)
HSLhsl(63, 85%, 87%)
HSVhsv(63, 22%, 98%)
CMYKcmyk(1.2%, 0%, 22.4%, 2%)
CIE-LABlab(96.84, -9.84, 26.61)
CIE-LCHlch(96.84, 28.37, 110.29°)
OKLaboklab(96.92% -0.0249 0.0676)
OKLCHoklch(96.92% 0.072 110.2)
XYZxyz(82.2806, 92.0413, 64.4597)
Luminance0.9204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7FAC2 #C5C2FA
analogous
#FAE1C2 #F7FAC2 #DBFAC2
triadic
#F7FAC2 #C2F7FA #FAC2F7
tetradic
#F7FAC2 #C2FAE1 #C5C2FA #FAC2DB
square
#F7FAC2 #C2FAE1 #C5C2FA #FAC2DB
split-complementary
#F7FAC2 #C2DBFA #E1C2FA
monochromatic
#E8F151 #F0F589 #F7FAC2 #FBFDE3 #FBFDE3

Accessibility & contrast

On white

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

On black

19.41
#F7FAC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7FAC2
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7FAC2#FFFFFF#000000##000000
##F7FAC21.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.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: #f7fac2;
/* rgb */ color: rgb(247, 250, 194);
/* oklch */ color: oklch(96.9% 0.072 110.2);
Tailwind
colors: {
  custom: {
    50: '#fafbd4',
    500: '#f7fac2',
    950: '#000000',
  },
}
SCSS
$custom: #f7fac2;
$custom-light: #fafbd4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7fac2",
  "rgb": {
    "r": 247,
    "g": 250,
    "b": 194
  },
  "hsl": {
    "h": 63.214,
    "s": 84.848,
    "l": 87.059
  },
  "oklch": {
    "l": 0.96923,
    "c": 0.07198,
    "h": 110.2
  },
  "luminance": 0.9204
}

Semantic roles & 50–950 ramp

primary
#F7FAC2
secondary
#8681DF
accent
#04E110
background
#FFFFFE
surface
#FFFFFB
border
#D7D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #F7FAC2

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

Preview Lab → · Contrast checker → · Palette generator →

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