#F2FAC4#F2FAC4

#F2FAC4 is a very light, moderate yellow. Relative luminance 0.912; OKLCH L 96.6% C 0.070 H 114.6°. Best body text is #000000 at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#F2FAC4
RGBrgb(242, 250, 196)
HSLhsl(69, 84%, 87%)
HSVhsv(69, 22%, 98%)
CMYKcmyk(3.2%, 0%, 21.6%, 2%)
CIE-LABlab(96.51, -11.35, 25.08)
CIE-LCHlch(96.51, 27.53, 114.35°)
OKLaboklab(96.58% -0.0292 0.0638)
OKLCHoklch(96.58% 0.07 114.6)
XYZxyz(80.7666, 91.2345, 65.5690)
Luminance0.9123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FAC4 #CCC4FA
analogous
#FAE7C4 #F2FAC4 #D7FAC4
triadic
#F2FAC4 #C4F2FA #FAC4F2
tetradic
#F2FAC4 #C4FAE7 #CCC4FA #FAC4D7
square
#F2FAC4 #C4FAE7 #CCC4FA #FAC4D7
split-complementary
#F2FAC4 #C4D7FA #E7C4FA
monochromatic
#D9F053 #E6F58C #F2FAC4 #F9FDE3 #F9FDE3

Accessibility & contrast

On white

1.09
#F2FAC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.25
#F2FAC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FAC4
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FAC4#FFFFFF#000000##000000
##F2FAC41.001.0919.2519.25
#FFFFFF1.091.0021.0021.00
#00000019.2521.001.001.00
##00000019.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4C1
Deuteranopia (green-blind)
#FFF6C6
Tritanopia (blue-blind)
#F8F4EB
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fac4;
/* rgb */ color: rgb(242, 250, 196);
/* oklch */ color: oklch(96.6% 0.070 114.6);
Tailwind
colors: {
  custom: {
    50: '#f6fcd6',
    500: '#f2fac4',
    950: '#000000',
  },
}
SCSS
$custom: #f2fac4;
$custom-light: #f6fcd6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fac4",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 196
  },
  "hsl": {
    "h": 68.889,
    "s": 84.375,
    "l": 87.451
  },
  "oklch": {
    "l": 0.96583,
    "c": 0.0702,
    "h": 114.6
  },
  "luminance": 0.91234
}

Semantic roles & 50–950 ramp

primary
#F2FAC4
secondary
#9183DF
accent
#05E125
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583

Preview Lab

Preview with #F2FAC4

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

Preview Lab → · Contrast checker → · Palette generator →

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