#F2FF78#F2FF78

#F2FF78 is a very light, vivid yellow. Relative luminance 0.918; OKLCH L 96.4% C 0.159 H 114.0°. Best body text is #000000 at 19.35:1 contrast (WCAG AA passes).

Color values

HEX#F2FF78
RGBrgb(242, 255, 120)
HSLhsl(66, 100%, 74%)
HSVhsv(66, 53%, 100%)
CMYKcmyk(5.1%, 0%, 52.9%, 0%)
CIE-LABlab(96.72, -22.25, 62.09)
CIE-LCHlch(96.72, 65.96, 109.71°)
OKLaboklab(96.4% -0.0646 0.1453)
OKLCHoklch(96.4% 0.159 114)
XYZxyz(75.7696, 91.7545, 31.4846)
Luminance0.9175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF78 #8578FF
analogous
#FFC878 #F2FF78 #AEFF78
triadic
#F2FF78 #78F2FF #FF78F2
tetradic
#F2FF78 #78FFC8 #8578FF #FF78AE
square
#F2FF78 #78FFC8 #8578FF #FF78AE
split-complementary
#F2FF78 #78AEFF #C878FF
monochromatic
#E4FD00 #ECFF3B #F2FF78 #F8FFB5 #FCFFE0

Accessibility & contrast

On white

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

On black

19.35
#F2FF78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF78
19.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF78#FFFFFF#000000##000000
##F2FF781.001.0919.3519.35
#FFFFFF1.091.0021.0021.00
#00000019.3521.001.001.00
##00000019.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF46B
Deuteranopia (green-blind)
#FFF780
Tritanopia (blue-blind)
#FFF2E1
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #f2ff78;
/* rgb */ color: rgb(242, 255, 120);
/* oklch */ color: oklch(96.4% 0.159 114.0);
Tailwind
colors: {
  custom: {
    50: '#f9ffa3',
    500: '#f2ff78',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff78;
$custom-light: #f9ffa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff78",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 120
  },
  "hsl": {
    "h": 65.778,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.96401,
    "c": 0.15902,
    "h": 114
  },
  "luminance": 0.91753
}

Semantic roles & 50–950 ramp

primary
#F2FF78
secondary
#4E3EDD
accent
#00E616
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FF78

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

Preview Lab → · Contrast checker → · Palette generator →

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