#F2FC7D#F2FC7D

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

Color values

HEX#F2FC7D
RGBrgb(242, 252, 125)
HSLhsl(65, 95%, 74%)
HSVhsv(65, 50%, 99%)
CMYKcmyk(4%, 0%, 50.4%, 1.2%)
CIE-LABlab(95.99, -20.40, 59.00)
CIE-LCHlch(95.99, 62.43, 109.07°)
OKLaboklab(95.83% -0.0589 0.1391)
OKLCHoklch(95.83% 0.151 112.9)
XYZxyz(75.1314, 89.9800, 32.8081)
Luminance0.8998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC7D #877DFC
analogous
#FCC77D #F2FC7D #B3FC7D
triadic
#F2FC7D #7DF2FC #FC7DF2
tetradic
#F2FC7D #7DFCC7 #877DFC #FC7DB3
square
#F2FC7D #7DFCC7 #877DFC #FC7DB3
split-complementary
#F2FC7D #7DB3FC #C77DFC
monochromatic
#E6F906 #ECFB41 #F2FC7D #F8FDB9 #FCFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FC7D#FFFFFF#000000##000000
##F2FC7D1.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)
#FFF271
Deuteranopia (green-blind)
#FFF584
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc7d;
/* rgb */ color: rgb(242, 252, 125);
/* oklch */ color: oklch(95.8% 0.151 112.9);
Tailwind
colors: {
  custom: {
    50: '#f8fda6',
    500: '#f2fc7d',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc7d;
$custom-light: #f8fda6;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc7d",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 125
  },
  "hsl": {
    "h": 64.724,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.95833,
    "c": 0.15104,
    "h": 112.9
  },
  "luminance": 0.89979
}

Semantic roles & 50–950 ramp

primary
#F2FC7D
secondary
#4F43DA
accent
#00E612
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#181710
muted
#868580

Preview Lab

Preview with #F2FC7D

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

Preview Lab → · Contrast checker → · Palette generator →

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