#F2FE7A#F2FE7A

#F2FE7A is a very light, vivid yellow. Relative luminance 0.912; OKLCH L 96.2% C 0.156 H 113.6°. Best body text is #000000 at 19.23:1 contrast (WCAG AA passes).

Color values

HEX#F2FE7A
RGBrgb(242, 254, 122)
HSLhsl(65, 99%, 74%)
HSVhsv(65, 52%, 100%)
CMYKcmyk(4.7%, 0%, 52%, 0.4%)
CIE-LABlab(96.48, -21.61, 60.92)
CIE-LCHlch(96.48, 64.64, 109.53°)
OKLaboklab(96.21% -0.0626 0.143)
OKLCHoklch(96.21% 0.156 113.6)
XYZxyz(75.5740, 91.1673, 32.0245)
Luminance0.9117 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE7A #867AFE
analogous
#FEC87A #F2FE7A #B0FE7A
triadic
#F2FE7A #7AF2FE #FE7AF2
tetradic
#F2FE7A #7AFEC8 #867AFE #FE7AB0
square
#F2FE7A #7AFEC8 #867AFE #FE7AB0
split-complementary
#F2FE7A #7AB0FE #C87AFE
monochromatic
#E5FC02 #ECFE3D #F2FE7A #F8FEB7 #FCFFE1

Accessibility & contrast

On white

1.09
#F2FE7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.23
#F2FE7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE7A
19.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE7A#FFFFFF#000000##000000
##F2FE7A1.001.0919.2319.23
#FFFFFF1.091.0021.0021.00
#00000019.2321.001.001.00
##00000019.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36D
Deuteranopia (green-blind)
#FFF681
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fe7a;
/* rgb */ color: rgb(242, 254, 122);
/* oklch */ color: oklch(96.2% 0.156 113.6);
Tailwind
colors: {
  custom: {
    50: '#f9fea4',
    500: '#f2fe7a',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe7a;
$custom-light: #f9fea4;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe7a",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 122
  },
  "hsl": {
    "h": 65.455,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.96215,
    "c": 0.15608,
    "h": 113.6
  },
  "luminance": 0.91166
}

Semantic roles & 50–950 ramp

primary
#F2FE7A
secondary
#4E40DC
accent
#00E615
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FE7A

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

Preview Lab → · Contrast checker → · Palette generator →

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