#F2FA8E#F2FA8E

#F2FA8E is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.6% C 0.132 H 112.3°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#F2FA8E
RGBrgb(242, 250, 142)
HSLhsl(64, 92%, 77%)
HSVhsv(64, 43%, 98%)
CMYKcmyk(3.2%, 0%, 43.2%, 2%)
CIE-LABlab(95.67, -17.87, 50.71)
CIE-LCHlch(95.67, 53.77, 109.41°)
OKLaboklab(95.64% -0.0502 0.1221)
OKLCHoklch(95.64% 0.132 112.3)
XYZxyz(75.6871, 89.2027, 38.8167)
Luminance0.8920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA8E #968EFA
analogous
#FACC8E #F2FA8E #BCFA8E
triadic
#F2FA8E #8EF2FA #FA8EF2
tetradic
#F2FA8E #8EFACC #968EFA #FA8EBC
square
#F2FA8E #8EFACC #968EFA #FA8EBC
split-complementary
#F2FA8E #8EBCFA #CC8EFA
monochromatic
#E5F519 #EBF753 #F2FA8E #F9FDC9 #FCFEE2

Accessibility & contrast

On white

1.11
#F2FA8E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.84
#F2FA8E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA8E
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA8E#FFFFFF#000000##000000
##F2FA8E1.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF185
Deuteranopia (green-blind)
#FFF493
Tritanopia (blue-blind)
#FEEFE0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa8e;
/* rgb */ color: rgb(242, 250, 142);
/* oklch */ color: oklch(95.6% 0.132 112.3);
Tailwind
colors: {
  custom: {
    50: '#f8fbb1',
    500: '#f2fa8e',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa8e;
$custom-light: #f8fbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa8e",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 142
  },
  "hsl": {
    "h": 64.444,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.95639,
    "c": 0.132,
    "h": 112.3
  },
  "luminance": 0.89201
}

Semantic roles & 50–950 ramp

primary
#F2FA8E
secondary
#5D53D9
accent
#00E611
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #F2FA8E

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

Preview Lab → · Contrast checker → · Palette generator →

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