#F2FE7C#F2FE7C

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

Color values

HEX#F2FE7C
RGBrgb(242, 254, 124)
HSLhsl(66, 98%, 74%)
HSVhsv(66, 51%, 100%)
CMYKcmyk(4.7%, 0%, 51.2%, 0.4%)
CIE-LABlab(96.50, -21.44, 60.05)
CIE-LCHlch(96.50, 63.77, 109.65°)
OKLaboklab(96.24% -0.0619 0.1413)
OKLCHoklch(96.24% 0.154 113.7)
XYZxyz(75.6992, 91.2173, 32.6838)
Luminance0.9122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE7C #887CFE
analogous
#FEC97C #F2FE7C #B1FE7C
triadic
#F2FE7C #7CF2FE #FE7CF2
tetradic
#F2FE7C #7CFEC9 #887CFE #FE7CB1
square
#F2FE7C #7CFEC9 #887CFE #FE7CB1
split-complementary
#F2FE7C #7CB1FE #C97CFE
monochromatic
#E6FD03 #ECFE3F #F2FE7C #F8FEB9 #FCFFE1

Accessibility & contrast

On white

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

On black

19.24
#F2FE7C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE7C
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE7C#FFFFFF#000000##000000
##F2FE7C1.001.0919.2419.24
#FFFFFF1.091.0021.0021.00
#00000019.2421.001.001.00
##00000019.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2fe7c;
/* rgb */ color: rgb(242, 254, 124);
/* oklch */ color: oklch(96.2% 0.154 113.7);
Tailwind
colors: {
  custom: {
    50: '#f8fea5',
    500: '#f2fe7c',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe7c;
$custom-light: #f8fea5;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe7c",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 124
  },
  "hsl": {
    "h": 65.538,
    "s": 98.485,
    "l": 74.118
  },
  "oklch": {
    "l": 0.96238,
    "c": 0.15425,
    "h": 113.7
  },
  "luminance": 0.91216
}

Semantic roles & 50–950 ramp

primary
#F2FE7C
secondary
#5042DC
accent
#00E615
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FE7C

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

Preview Lab → · Contrast checker → · Palette generator →

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