#F2FA7E#F2FA7E

#F2FA7E is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.4% C 0.148 H 112.2°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#F2FA7E
RGBrgb(242, 250, 126)
HSLhsl(64, 93%, 74%)
HSVhsv(64, 50%, 98%)
CMYKcmyk(3.2%, 0%, 49.6%, 2%)
CIE-LABlab(95.48, -19.36, 57.95)
CIE-LCHlch(95.48, 61.09, 108.47°)
OKLaboklab(95.43% -0.0558 0.1369)
OKLCHoklch(95.43% 0.148 112.2)
XYZxyz(74.5709, 88.7562, 32.9380)
Luminance0.8875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA7E #867EFA
analogous
#FAC47E #F2FA7E #B4FA7E
triadic
#F2FA7E #7EF2FA #FA7EF2
tetradic
#F2FA7E #7EFAC4 #867EFA #FA7EB4
square
#F2FA7E #7EFAC4 #867EFA #FA7EB4
split-complementary
#F2FA7E #7EB4FA #C47EFA
monochromatic
#E5F409 #ECF843 #F2FA7E #F8FCB9 #FCFEE2

Accessibility & contrast

On white

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

On black

18.75
#F2FA7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA7E
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA7E#FFFFFF#000000##000000
##F2FA7E1.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF073
Deuteranopia (green-blind)
#FFF485
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa7e;
/* rgb */ color: rgb(242, 250, 126);
/* oklch */ color: oklch(95.4% 0.148 112.2);
Tailwind
colors: {
  custom: {
    50: '#f8fba6',
    500: '#f2fa7e',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa7e;
$custom-light: #f8fba6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa7e",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 126
  },
  "hsl": {
    "h": 63.871,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.95429,
    "c": 0.14781,
    "h": 112.2
  },
  "luminance": 0.88755
}

Semantic roles & 50–950 ramp

primary
#F2FA7E
secondary
#4E45D7
accent
#00E60F
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #F2FA7E

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

Preview Lab → · Contrast checker → · Palette generator →

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