#F2FC7A#F2FC7A

#F2FC7A is a very light, vivid yellow. Relative luminance 0.899; OKLCH L 95.8% C 0.154 H 112.9°. Best body text is #000000 at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#F2FC7A
RGBrgb(242, 252, 122)
HSLhsl(65, 96%, 73%)
HSVhsv(65, 52%, 99%)
CMYKcmyk(4%, 0%, 51.6%, 1.2%)
CIE-LABlab(95.96, -20.65, 60.32)
CIE-LCHlch(95.96, 63.75, 108.90°)
OKLaboklab(95.8% -0.0599 0.1417)
OKLCHoklch(95.8% 0.154 112.9)
XYZxyz(74.9427, 89.9045, 31.8140)
Luminance0.8990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC7A #847AFC
analogous
#FCC57A #F2FC7A #B1FC7A
triadic
#F2FC7A #7AF2FC #FC7AF2
tetradic
#F2FC7A #7AFCC5 #847AFC #FC7AB1
square
#F2FC7A #7AFCC5 #847AFC #FC7AB1
split-complementary
#F2FC7A #7AB1FC #C57AFC
monochromatic
#E4F606 #ECFB3E #F2FC7A #F8FDB6 #FCFEE1

Accessibility & contrast

On white

1.11
#F2FC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.98
#F2FC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC7A
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC7A#FFFFFF#000000##000000
##F2FC7A1.001.1118.9818.98
#FFFFFF1.111.0021.0021.00
#00000018.9821.001.001.00
##00000018.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26E
Deuteranopia (green-blind)
#FFF581
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc7a;
/* rgb */ color: rgb(242, 252, 122);
/* oklch */ color: oklch(95.8% 0.154 112.9);
Tailwind
colors: {
  custom: {
    50: '#f9fda4',
    500: '#f2fc7a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc7a;
$custom-light: #f9fda4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc7a",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 122
  },
  "hsl": {
    "h": 64.615,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95798,
    "c": 0.1538,
    "h": 112.9
  },
  "luminance": 0.89903
}

Semantic roles & 50–950 ramp

primary
#F2FC7A
secondary
#4D41D9
accent
#00E612
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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