#F2FA76#F2FA76

#F2FA76 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.3% C 0.155 H 112.1°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#F2FA76
RGBrgb(242, 250, 118)
HSLhsl(64, 93%, 72%)
HSVhsv(64, 53%, 98%)
CMYKcmyk(3.2%, 0%, 52.8%, 2%)
CIE-LABlab(95.40, -20.02, 61.45)
CIE-LCHlch(95.40, 64.63, 108.05°)
OKLaboklab(95.34% -0.0585 0.1437)
OKLCHoklch(95.34% 0.155 112.1)
XYZxyz(74.0752, 88.5579, 30.3273)
Luminance0.8856 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FA76 #7E76FA
analogous
#FAC076 #F2FA76 #B0FA76
triadic
#F2FA76 #76F2FA #FA76F2
tetradic
#F2FA76 #76FAC0 #7E76FA #FA76B0
square
#F2FA76 #76FAC0 #7E76FA #FA76B0
split-complementary
#F2FA76 #76B0FA #C076FA
monochromatic
#DFED09 #ECF83B #F2FA76 #F8FCB1 #FCFEE1

Accessibility & contrast

On white

1.12
#F2FA76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.71
#F2FA76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FA76
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FA76#FFFFFF#000000##000000
##F2FA761.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF069
Deuteranopia (green-blind)
#FFF37D
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fa76;
/* rgb */ color: rgb(242, 250, 118);
/* oklch */ color: oklch(95.3% 0.155 112.1);
Tailwind
colors: {
  custom: {
    50: '#f9fba1',
    500: '#f2fa76',
    950: '#000000',
  },
}
SCSS
$custom: #f2fa76;
$custom-light: #f9fba1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fa76",
  "rgb": {
    "r": 242,
    "g": 250,
    "b": 118
  },
  "hsl": {
    "h": 63.636,
    "s": 92.958,
    "l": 72.157
  },
  "oklch": {
    "l": 0.95336,
    "c": 0.15516,
    "h": 112.1
  },
  "luminance": 0.88556
}

Semantic roles & 50–950 ramp

primary
#F2FA76
secondary
#473ED6
accent
#00E60E
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FA76

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

Preview Lab → · Contrast checker → · Palette generator →

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