#F2FC78#F2FC78

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

Color values

HEX#F2FC78
RGBrgb(242, 252, 120)
HSLhsl(65, 96%, 73%)
HSVhsv(65, 52%, 99%)
CMYKcmyk(4%, 0%, 52.4%, 1.2%)
CIE-LABlab(95.94, -20.82, 61.19)
CIE-LCHlch(95.94, 64.63, 108.79°)
OKLaboklab(95.78% -0.0605 0.1434)
OKLCHoklch(95.78% 0.156 112.9)
XYZxyz(74.8200, 89.8555, 31.1681)
Luminance0.8985 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC78 #8278FC
analogous
#FCC478 #F2FC78 #B0FC78
triadic
#F2FC78 #78F2FC #FC78F2
tetradic
#F2FC78 #78FCC4 #8278FC #FC78B0
square
#F2FC78 #78FCC4 #8278FC #FC78B0
split-complementary
#F2FC78 #78B0FC #C478FC
monochromatic
#E2F405 #ECFB3C #F2FC78 #F8FDB4 #FCFEE1

Accessibility & contrast

On white

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

On black

18.97
#F2FC78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC78
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC78#FFFFFF#000000##000000
##F2FC781.001.1118.9718.97
#FFFFFF1.111.0021.0021.00
#00000018.9721.001.001.00
##00000018.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF26B
Deuteranopia (green-blind)
#FFF57F
Tritanopia (blue-blind)
#FFEFDF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc78;
/* rgb */ color: rgb(242, 252, 120);
/* oklch */ color: oklch(95.8% 0.156 112.9);
Tailwind
colors: {
  custom: {
    50: '#f9fda2',
    500: '#f2fc78',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc78;
$custom-light: #f9fda2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc78",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 120
  },
  "hsl": {
    "h": 64.545,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.95775,
    "c": 0.15561,
    "h": 112.9
  },
  "luminance": 0.89854
}

Semantic roles & 50–950 ramp

primary
#F2FC78
secondary
#4B3FD9
accent
#00E611
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FC78

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

Preview Lab → · Contrast checker → · Palette generator →

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