#F2FABA#F2FABA

#F2FABA is a very light, moderate yellow. Relative luminance 0.908; OKLCH L 96.4% C 0.082 H 113.8°. Best body text is #000000 at 19.16:1 contrast (WCAG AA passes).

Color values

HEX#F2FABA
RGBrgb(242, 250, 186)
HSLhsl(68, 86%, 85%)
HSVhsv(68, 26%, 98%)
CMYKcmyk(3.2%, 0%, 25.6%, 2%)
CIE-LABlab(96.33, -12.73, 29.90)
CIE-LCHlch(96.33, 32.50, 113.06°)
OKLaboklab(96.38% -0.0332 0.0754)
OKLCHoklch(96.38% 0.082 113.8)
XYZxyz(79.6661, 90.7943, 59.7731)
Luminance0.9079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FABA #C2BAFA
analogous
#FAE2BA #F2FABA #D2FABA
triadic
#F2FABA #BAF2FA #FABAF2
tetradic
#F2FABA #BAFAE2 #C2BAFA #FABAD2
square
#F2FABA #BAFAE2 #C2BAFA #FABAD2
split-complementary
#F2FABA #BAD2FA #E2BAFA
monochromatic
#DCF248 #E7F681 #F2FABA #FAFDE2 #FAFDE2

Accessibility & contrast

On white

1.10
#F2FABA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.16
#F2FABA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FABA
19.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FABA#FFFFFF#000000##000000
##F2FABA1.001.1019.1619.16
#FFFFFF1.101.0021.0021.00
#00000019.1621.001.001.00
##00000019.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4B6
Deuteranopia (green-blind)
#FFF5BD
Tritanopia (blue-blind)
#FAF3E9
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #f2faba;
/* rgb */ color: rgb(242, 250, 186);
/* oklch */ color: oklch(96.4% 0.082 113.8);
Tailwind
colors: {
  custom: {
    50: '#f7fbcf',
    500: '#f2faba',
    950: '#000000',
  },
}
SCSS
$custom: #f2faba;
$custom-light: #f7fbcf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2faba",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 186
  },
  "hsl": {
    "h": 67.5,
    "s": 86.486,
    "l": 85.49
  },
  "oklch": {
    "l": 0.9638,
    "c": 0.0824,
    "h": 113.8
  },
  "luminance": 0.90794
}

Semantic roles & 50–950 ramp

primary
#F2FABA
secondary
#867ADE
accent
#02E31F
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171713
muted
#858583

Preview Lab

Preview with #F2FABA

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

Preview Lab → · Contrast checker → · Palette generator →

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