#F2FA8A#F2FA8A

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

Color values

HEX#F2FA8A
RGBrgb(242, 250, 138)
HSLhsl(64, 92%, 76%)
HSVhsv(64, 45%, 98%)
CMYKcmyk(3.2%, 0%, 44.8%, 2%)
CIE-LABlab(95.62, -18.26, 52.55)
CIE-LCHlch(95.62, 55.63, 109.16°)
OKLaboklab(95.58% -0.0516 0.1259)
OKLCHoklch(95.58% 0.136 112.3)
XYZxyz(75.3921, 89.0847, 37.2633)
Luminance0.8908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA8A #928AFA
analogous
#FACA8A #F2FA8A #BAFA8A
triadic
#F2FA8A #8AF2FA #FA8AF2
tetradic
#F2FA8A #8AFACA #928AFA #FA8ABA
square
#F2FA8A #8AFACA #928AFA #FA8ABA
split-complementary
#F2FA8A #8ABAFA #CA8AFA
monochromatic
#E5F515 #EBF74F #F2FA8A #F9FDC5 #FCFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FA8A#FFFFFF#000000##000000
##F2FA8A1.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)
#FFF181
Deuteranopia (green-blind)
#FFF490
Tritanopia (blue-blind)
#FFEEE0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa8a;
/* rgb */ color: rgb(242, 250, 138);
/* oklch */ color: oklch(95.6% 0.136 112.3);
Tailwind
colors: {
  custom: {
    50: '#f8fbae',
    500: '#f2fa8a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa8a;
$custom-light: #f8fbae;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa8a",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 138
  },
  "hsl": {
    "h": 64.286,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95583,
    "c": 0.13609,
    "h": 112.3
  },
  "luminance": 0.89083
}

Semantic roles & 50–950 ramp

primary
#F2FA8A
secondary
#594FD9
accent
#00E610
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F2FA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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