#F2FA7C#F2FA7C

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

Color values

HEX#F2FA7C
RGBrgb(242, 250, 124)
HSLhsl(64, 93%, 73%)
HSVhsv(64, 50%, 98%)
CMYKcmyk(3.2%, 0%, 50.4%, 2%)
CIE-LABlab(95.46, -19.53, 58.83)
CIE-LCHlch(95.46, 61.99, 108.36°)
OKLaboklab(95.41% -0.0565 0.1386)
OKLCHoklch(95.41% 0.15 112.2)
XYZxyz(74.4431, 88.7051, 32.2651)
Luminance0.8870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA7C #847CFA
analogous
#FAC37C #F2FA7C #B3FA7C
triadic
#F2FA7C #7CF2FA #FA7CF2
tetradic
#F2FA7C #7CFAC3 #847CFA #FA7CB3
square
#F2FA7C #7CFAC3 #847CFA #FA7CB3
split-complementary
#F2FA7C #7CB3FA #C37CFA
monochromatic
#E4F209 #ECF841 #F2FA7C #F8FCB7 #FCFEE2

Accessibility & contrast

On white

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

On black

18.74
#F2FA7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA7C
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA7C#FFFFFF#000000##000000
##F2FA7C1.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF070
Deuteranopia (green-blind)
#FFF483
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa7c;
/* rgb */ color: rgb(242, 250, 124);
/* oklch */ color: oklch(95.4% 0.150 112.2);
Tailwind
colors: {
  custom: {
    50: '#f8fba5',
    500: '#f2fa7c',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa7c;
$custom-light: #f8fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa7c",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 124
  },
  "hsl": {
    "h": 63.81,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95405,
    "c": 0.14969,
    "h": 112.2
  },
  "luminance": 0.88704
}

Semantic roles & 50–950 ramp

primary
#F2FA7C
secondary
#4D43D7
accent
#00E60F
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FA7C

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

Preview Lab → · Contrast checker → · Palette generator →

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