#F2FF76#F2FF76

#F2FF76 is a very light, vivid yellow. Relative luminance 0.917; OKLCH L 96.4% C 0.161 H 113.9°. Best body text is #000000 at 19.34:1 contrast (WCAG AA passes).

Color values

HEX#F2FF76
RGBrgb(242, 255, 118)
HSLhsl(66, 100%, 73%)
HSVhsv(66, 54%, 100%)
CMYKcmyk(5.1%, 0%, 53.7%, 0%)
CIE-LABlab(96.70, -22.41, 62.95)
CIE-LCHlch(96.70, 66.82, 109.60°)
OKLaboklab(96.38% -0.0652 0.147)
OKLCHoklch(96.38% 0.161 113.9)
XYZxyz(75.6494, 91.7065, 30.8520)
Luminance0.9171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FF76 #8376FF
analogous
#FFC776 #F2FF76 #AEFF76
triadic
#F2FF76 #76F2FF #FF76F2
tetradic
#F2FF76 #76FFC7 #8376FF #FF76AE
square
#F2FF76 #76FFC7 #8376FF #FF76AE
split-complementary
#F2FF76 #76AEFF #C776FF
monochromatic
#E3FB00 #ECFF39 #F2FF76 #F8FFB3 #FCFFE0

Accessibility & contrast

On white

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

On black

19.34
#F2FF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FF76
19.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FF76#FFFFFF#000000##000000
##F2FF761.001.0919.3419.34
#FFFFFF1.091.0021.0021.00
#00000019.3421.001.001.00
##00000019.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF468
Deuteranopia (green-blind)
#FFF77E
Tritanopia (blue-blind)
#FFF2E1
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2ff76;
/* rgb */ color: rgb(242, 255, 118);
/* oklch */ color: oklch(96.4% 0.161 113.9);
Tailwind
colors: {
  custom: {
    50: '#f9ffa1',
    500: '#f2ff76',
    950: '#000000',
  },
}
SCSS
$custom: #f2ff76;
$custom-light: #f9ffa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2ff76",
  "rgb": {
    "r": 242,
    "g": 255,
    "b": 118
  },
  "hsl": {
    "h": 65.693,
    "s": 100,
    "l": 73.137
  },
  "oklch": {
    "l": 0.96379,
    "c": 0.16078,
    "h": 113.9
  },
  "luminance": 0.91705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F2FF76

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

Preview Lab → · Contrast checker → · Palette generator →

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