#F2FC76#F2FC76

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

Color values

HEX#F2FC76
RGBrgb(242, 252, 118)
HSLhsl(64, 96%, 73%)
HSVhsv(64, 53%, 99%)
CMYKcmyk(4%, 0%, 53.2%, 1.2%)
CIE-LABlab(95.92, -20.98, 62.05)
CIE-LCHlch(95.92, 65.50, 108.68°)
OKLaboklab(95.75% -0.0612 0.145)
OKLCHoklch(95.75% 0.157 112.9)
XYZxyz(74.6999, 89.8074, 30.5355)
Luminance0.8981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FC76 #8076FC
analogous
#FCC376 #F2FC76 #AFFC76
triadic
#F2FC76 #76F2FC #FC76F2
tetradic
#F2FC76 #76FCC3 #8076FC #FC76AF
square
#F2FC76 #76FCC3 #8076FC #FC76AF
split-complementary
#F2FC76 #76AFFC #C376FC
monochromatic
#E1F205 #ECFB3A #F2FC76 #F8FDB2 #FCFEE1

Accessibility & contrast

On white

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

On black

18.96
#F2FC76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FC76
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FC76#FFFFFF#000000##000000
##F2FC761.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF269
Deuteranopia (green-blind)
#FFF57D
Tritanopia (blue-blind)
#FFEFDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fc76;
/* rgb */ color: rgb(242, 252, 118);
/* oklch */ color: oklch(95.8% 0.157 112.9);
Tailwind
colors: {
  custom: {
    50: '#f9fda1',
    500: '#f2fc76',
    950: '#000000',
  },
}
SCSS
$custom: #f2fc76;
$custom-light: #f9fda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fc76",
  "rgb": {
    "r": 242,
    "g": 252,
    "b": 118
  },
  "hsl": {
    "h": 64.478,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95753,
    "c": 0.1574,
    "h": 112.9
  },
  "luminance": 0.89806
}

Semantic roles & 50–950 ramp

primary
#F2FC76
secondary
#493DD9
accent
#00E611
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FC76

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

Preview Lab → · Contrast checker → · Palette generator →

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