#F2FE7E#F2FE7E

#F2FE7E is a very light, vivid yellow. Relative luminance 0.913; OKLCH L 96.3% C 0.152 H 113.7°. Best body text is #000000 at 19.25:1 contrast (WCAG AA passes).

Color values

HEX#F2FE7E
RGBrgb(242, 254, 126)
HSLhsl(66, 98%, 75%)
HSVhsv(66, 50%, 100%)
CMYKcmyk(4.7%, 0%, 50.4%, 0.4%)
CIE-LABlab(96.52, -21.27, 59.18)
CIE-LCHlch(96.52, 62.88, 109.77°)
OKLaboklab(96.26% -0.0612 0.1396)
OKLCHoklch(96.26% 0.152 113.7)
XYZxyz(75.8270, 91.2684, 33.3567)
Luminance0.9127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE7E #8A7EFE
analogous
#FECA7E #F2FE7E #B2FE7E
triadic
#F2FE7E #7EF2FE #FE7EF2
tetradic
#F2FE7E #7EFECA #8A7EFE #FE7EB2
square
#F2FE7E #7EFECA #8A7EFE #FE7EB2
split-complementary
#F2FE7E #7EB2FE #CA7EFE
monochromatic
#E6FD05 #ECFE41 #F2FE7E #F8FEBB #FCFFE1

Accessibility & contrast

On white

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

On black

19.25
#F2FE7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE7E
19.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE7E#FFFFFF#000000##000000
##F2FE7E1.001.0919.2519.25
#FFFFFF1.091.0021.0021.00
#00000019.2521.001.001.00
##00000019.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF472
Deuteranopia (green-blind)
#FFF685
Tritanopia (blue-blind)
#FFF1E1
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fe7e;
/* rgb */ color: rgb(242, 254, 126);
/* oklch */ color: oklch(96.3% 0.152 113.7);
Tailwind
colors: {
  custom: {
    50: '#f8fea6',
    500: '#f2fe7e',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe7e;
$custom-light: #f8fea6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe7e",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 126
  },
  "hsl": {
    "h": 65.625,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.96261,
    "c": 0.1524,
    "h": 113.7
  },
  "luminance": 0.91267
}

Semantic roles & 50–950 ramp

primary
#F2FE7E
secondary
#5244DD
accent
#00E616
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F2FE7E

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

Preview Lab → · Contrast checker → · Palette generator →

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