#F2FE76#F2FE76

#F2FE76 is a very light, vivid yellow. Relative luminance 0.911; OKLCH L 96.2% C 0.160 H 113.6°. Best body text is #000000 at 19.21:1 contrast (WCAG AA passes).

Color values

HEX#F2FE76
RGBrgb(242, 254, 118)
HSLhsl(65, 99%, 73%)
HSVhsv(65, 54%, 100%)
CMYKcmyk(4.7%, 0%, 53.5%, 0.4%)
CIE-LABlab(96.44, -21.93, 62.65)
CIE-LCHlch(96.44, 66.38, 109.30°)
OKLaboklab(96.17% -0.0639 0.1463)
OKLCHoklch(96.17% 0.16 113.6)
XYZxyz(75.3313, 91.0702, 30.7460)
Luminance0.9107 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FE76 #8276FE
analogous
#FEC676 #F2FE76 #AEFE76
triadic
#F2FE76 #76F2FE #FE76F2
tetradic
#F2FE76 #76FEC6 #8276FE #FE76AE
square
#F2FE76 #76FEC6 #8276FE #FE76AE
split-complementary
#F2FE76 #76AEFE #C676FE
monochromatic
#E2F802 #ECFE39 #F2FE76 #F8FEB3 #FCFFE1

Accessibility & contrast

On white

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

On black

19.21
#F2FE76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FE76
19.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FE76#FFFFFF#000000##000000
##F2FE761.001.0919.2119.21
#FFFFFF1.091.0021.0021.00
#00000019.2121.001.001.00
##00000019.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF368
Deuteranopia (green-blind)
#FFF67E
Tritanopia (blue-blind)
#FFF1E0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f2fe76;
/* rgb */ color: rgb(242, 254, 118);
/* oklch */ color: oklch(96.2% 0.160 113.6);
Tailwind
colors: {
  custom: {
    50: '#f9fea1',
    500: '#f2fe76',
    950: '#000000',
  },
}
SCSS
$custom: #f2fe76;
$custom-light: #f9fea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fe76",
  "rgb": {
    "r": 242,
    "g": 254,
    "b": 118
  },
  "hsl": {
    "h": 65.294,
    "s": 98.551,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9617,
    "c": 0.15965,
    "h": 113.6
  },
  "luminance": 0.91069
}

Semantic roles & 50–950 ramp

primary
#F2FE76
secondary
#4B3DDB
accent
#00E614
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FE76

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

Preview Lab → · Contrast checker → · Palette generator →

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