#F2FA7A#F2FA7A

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

Color values

HEX#F2FA7A
RGBrgb(242, 250, 122)
HSLhsl(64, 93%, 73%)
HSVhsv(64, 51%, 98%)
CMYKcmyk(3.2%, 0%, 51.2%, 2%)
CIE-LABlab(95.44, -19.69, 59.71)
CIE-LCHlch(95.44, 62.87, 108.26°)
OKLaboklab(95.38% -0.0572 0.1404)
OKLCHoklch(95.38% 0.152 112.2)
XYZxyz(74.3179, 88.6550, 31.6058)
Luminance0.8865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA7A #827AFA
analogous
#FAC27A #F2FA7A #B2FA7A
triadic
#F2FA7A #7AF2FA #FA7AF2
tetradic
#F2FA7A #7AFAC2 #827AFA #FA7AB2
square
#F2FA7A #7AFAC2 #827AFA #FA7AB2
split-complementary
#F2FA7A #7AB2FA #C27AFA
monochromatic
#E2F109 #ECF83F #F2FA7A #F8FCB5 #FCFEE2

Accessibility & contrast

On white

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

On black

18.73
#F2FA7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA7A
18.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA7A#FFFFFF#000000##000000
##F2FA7A1.001.1218.7318.73
#FFFFFF1.121.0021.0021.00
#00000018.7321.001.001.00
##00000018.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2fa7a;
/* rgb */ color: rgb(242, 250, 122);
/* oklch */ color: oklch(95.4% 0.152 112.2);
Tailwind
colors: {
  custom: {
    50: '#f9fba4',
    500: '#f2fa7a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa7a;
$custom-light: #f9fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa7a",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 122
  },
  "hsl": {
    "h": 63.75,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95382,
    "c": 0.15154,
    "h": 112.2
  },
  "luminance": 0.88654
}

Semantic roles & 50–950 ramp

primary
#F2FA7A
secondary
#4B41D7
accent
#00E60E
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FA7A

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

Preview Lab → · Contrast checker → · Palette generator →

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