#F2FC7E#F2FC7E

#F2FC7E is a very light, vivid yellow. Relative luminance 0.900; OKLCH L 95.8% C 0.150 H 113.0°. Best body text is #000000 at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#F2FC7E
RGBrgb(242, 252, 126)
HSLhsl(65, 95%, 74%)
HSVhsv(65, 50%, 99%)
CMYKcmyk(4%, 0%, 50%, 1.2%)
CIE-LABlab(96.00, -20.32, 58.56)
CIE-LCHlch(96.00, 61.98, 109.13°)
OKLaboklab(95.85% -0.0585 0.1382)
OKLCHoklch(95.85% 0.15 113)
XYZxyz(75.1956, 90.0057, 33.1462)
Luminance0.9000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC7E #887EFC
analogous
#FCC77E #F2FC7E #B3FC7E
triadic
#F2FC7E #7EF2FC #FC7EF2
tetradic
#F2FC7E #7EFCC7 #887EFC #FC7EB3
square
#F2FC7E #7EFCC7 #887EFC #FC7EB3
split-complementary
#F2FC7E #7EB3FC #C77EFC
monochromatic
#E6F906 #ECFB42 #F2FC7E #F8FDBA #FCFEE1

Accessibility & contrast

On white

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

On black

19.00
#F2FC7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC7E
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC7E#FFFFFF#000000##000000
##F2FC7E1.001.1119.0019.00
#FFFFFF1.111.0021.0021.00
#00000019.0021.001.001.00
##00000019.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF272
Deuteranopia (green-blind)
#FFF585
Tritanopia (blue-blind)
#FFF0DF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc7e;
/* rgb */ color: rgb(242, 252, 126);
/* oklch */ color: oklch(95.8% 0.150 113.0);
Tailwind
colors: {
  custom: {
    50: '#f8fda6',
    500: '#f2fc7e',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc7e;
$custom-light: #f8fda6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc7e",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 126
  },
  "hsl": {
    "h": 64.762,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.95845,
    "c": 0.1501,
    "h": 113
  },
  "luminance": 0.90004
}

Semantic roles & 50–950 ramp

primary
#F2FC7E
secondary
#5044DA
accent
#00E612
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F2FC7E

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

Preview Lab → · Contrast checker → · Palette generator →

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