#F2FA8B#F2FA8B

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

Color values

HEX#F2FA8B
RGBrgb(242, 250, 139)
HSLhsl(64, 92%, 76%)
HSVhsv(64, 44%, 98%)
CMYKcmyk(3.2%, 0%, 44.4%, 2%)
CIE-LABlab(95.63, -18.16, 52.09)
CIE-LCHlch(95.63, 55.16, 109.22°)
OKLaboklab(95.6% -0.0512 0.125)
OKLCHoklch(95.6% 0.135 112.3)
XYZxyz(75.4649, 89.1138, 37.6464)
Luminance0.8911 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA8B #938BFA
analogous
#FACB8B #F2FA8B #BBFA8B
triadic
#F2FA8B #8BF2FA #FA8BF2
tetradic
#F2FA8B #8BFACB #938BFA #FA8BBB
square
#F2FA8B #8BFACB #938BFA #FA8BBB
split-complementary
#F2FA8B #8BBBFA #CB8BFA
monochromatic
#E5F516 #EBF750 #F2FA8B #F9FDC6 #FCFEE2

Accessibility & contrast

On white

1.12
#F2FA8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.82
#F2FA8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA8B
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA8B#FFFFFF#000000##000000
##F2FA8B1.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF182
Deuteranopia (green-blind)
#FFF490
Tritanopia (blue-blind)
#FEEEE0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa8b;
/* rgb */ color: rgb(242, 250, 139);
/* oklch */ color: oklch(95.6% 0.135 112.3);
Tailwind
colors: {
  custom: {
    50: '#f8fbaf',
    500: '#f2fa8b',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa8b;
$custom-light: #f8fbaf;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa8b",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 139
  },
  "hsl": {
    "h": 64.324,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.95597,
    "c": 0.13508,
    "h": 112.3
  },
  "luminance": 0.89113
}

Semantic roles & 50–950 ramp

primary
#F2FA8B
secondary
#5A50D9
accent
#00E611
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FA8B

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

Preview Lab → · Contrast checker → · Palette generator →

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