#F2FCAB#F2FCAB

#F2FCAB is a very light, moderate yellow. Relative luminance 0.914; OKLCH L 96.5% C 0.103 H 114.1°. Best body text is #000000 at 19.29:1 contrast (WCAG AA passes).

Color values

HEX#F2FCAB
RGBrgb(242, 252, 171)
HSLhsl(67, 93%, 83%)
HSVhsv(67, 32%, 99%)
CMYKcmyk(4%, 0%, 32.1%, 1.2%)
CIE-LABlab(96.59, -15.63, 37.77)
CIE-LCHlch(96.59, 40.88, 112.48°)
OKLaboklab(96.51% -0.0419 0.0938)
OKLCHoklch(96.51% 0.103 114.1)
XYZxyz(78.7792, 91.4391, 52.0196)
Luminance0.9144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FCAB #B5ABFC
analogous
#FCDDAB #F2FCAB #CAFCAB
triadic
#F2FCAB #ABF2FC #FCABF2
tetradic
#F2FCAB #ABFCDD #B5ABFC #FCABCA
square
#F2FCAB #ABFCDD #B5ABFC #FCABCA
split-complementary
#F2FCAB #ABCAFC #DDABFC
monochromatic
#E0F835 #E9FA70 #F2FCAB #FAFEE1 #FAFEE1

Accessibility & contrast

On white

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

On black

19.29
#F2FCAB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FCAB
19.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FCAB#FFFFFF#000000##000000
##F2FCAB1.001.0919.2919.29
#FFFFFF1.091.0021.0021.00
#00000019.2921.001.001.00
##00000019.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF4A5
Deuteranopia (green-blind)
#FFF6AE
Tritanopia (blue-blind)
#FBF3E7
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fcab;
/* rgb */ color: rgb(242, 252, 171);
/* oklch */ color: oklch(96.5% 0.103 114.1);
Tailwind
colors: {
  custom: {
    50: '#f7fdc4',
    500: '#f2fcab',
    950: '#000000',
  },
}
SCSS
$custom: #f2fcab;
$custom-light: #f7fdc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fcab",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 171
  },
  "hsl": {
    "h": 67.407,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.96509,
    "c": 0.10271,
    "h": 114.1
  },
  "luminance": 0.91438
}

Semantic roles & 50–950 ramp

primary
#F2FCAB
secondary
#7A6BE0
accent
#00E61C
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171713
muted
#858582

Preview Lab

Preview with #F2FCAB

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

Preview Lab → · Contrast checker → · Palette generator →

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