#F2FB76#F2FB76

#F2FB76 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.5% C 0.156 H 112.5°. Best body text is #000000 at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#F2FB76
RGBrgb(242, 251, 118)
HSLhsl(64, 94%, 72%)
HSVhsv(64, 53%, 98%)
CMYKcmyk(3.6%, 0%, 53%, 1.6%)
CIE-LABlab(95.66, -20.50, 61.75)
CIE-LCHlch(95.66, 65.06, 108.37°)
OKLaboklab(95.54% -0.0598 0.1444)
OKLCHoklch(95.54% 0.156 112.5)
XYZxyz(74.3867, 89.1810, 30.4311)
Luminance0.8918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB76 #7F76FB
analogous
#FBC176 #F2FB76 #B0FB76
triadic
#F2FB76 #76F2FB #FB76F2
tetradic
#F2FB76 #76FBC1 #7F76FB #FB76B0
square
#F2FB76 #76FBC1 #7F76FB #FB76B0
split-complementary
#F2FB76 #76B0FB #C176FB
monochromatic
#E0F007 #ECF93B #F2FB76 #F8FDB1 #FCFEE1

Accessibility & contrast

On white

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

On black

18.84
#F2FB76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB76
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB76#FFFFFF#000000##000000
##F2FB761.001.1118.8418.84
#FFFFFF1.111.0021.0021.00
#00000018.8421.001.001.00
##00000018.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF169
Deuteranopia (green-blind)
#FFF47D
Tritanopia (blue-blind)
#FFEEDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fb76;
/* rgb */ color: rgb(242, 251, 118);
/* oklch */ color: oklch(95.5% 0.156 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fca1',
    500: '#f2fb76',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb76;
$custom-light: #f9fca1;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb76",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 118
  },
  "hsl": {
    "h": 64.06,
    "s": 94.326,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95544,
    "c": 0.15628,
    "h": 112.5
  },
  "luminance": 0.8918
}

Semantic roles & 50–950 ramp

primary
#F2FB76
secondary
#483ED7
accent
#00E610
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FB76

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

Preview Lab → · Contrast checker → · Palette generator →

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