#F2FA8F#F2FA8F

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

Color values

HEX#F2FA8F
RGBrgb(242, 250, 143)
HSLhsl(64, 91%, 77%)
HSVhsv(64, 43%, 98%)
CMYKcmyk(3.2%, 0%, 42.8%, 2%)
CIE-LABlab(95.68, -17.77, 50.25)
CIE-LCHlch(95.68, 53.30, 109.47°)
OKLaboklab(95.65% -0.0498 0.1211)
OKLCHoklch(95.65% 0.131 112.3)
XYZxyz(75.7625, 89.2328, 39.2138)
Luminance0.8923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA8F #978FFA
analogous
#FACD8F #F2FA8F #BDFA8F
triadic
#F2FA8F #8FF2FA #FA8FF2
tetradic
#F2FA8F #8FFACD #978FFA #FA8FBD
square
#F2FA8F #8FFACD #978FFA #FA8FBD
split-complementary
#F2FA8F #8FBDFA #CD8FFA
monochromatic
#E4F51A #EBF754 #F2FA8F #F9FDCA #FCFEE2

Accessibility & contrast

On white

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

On black

18.85
#F2FA8F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA8F
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA8F#FFFFFF#000000##000000
##F2FA8F1.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF186
Deuteranopia (green-blind)
#FFF494
Tritanopia (blue-blind)
#FEEFE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fa8f;
/* rgb */ color: rgb(242, 250, 143);
/* oklch */ color: oklch(95.7% 0.131 112.3);
Tailwind
colors: {
  custom: {
    50: '#f8fbb1',
    500: '#f2fa8f',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa8f;
$custom-light: #f8fbb1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa8f",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 143
  },
  "hsl": {
    "h": 64.486,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.95653,
    "c": 0.13097,
    "h": 112.3
  },
  "luminance": 0.89232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FA8F

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

Preview Lab → · Contrast checker → · Palette generator →

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