#F2FB66#F2FB66

#F2FB66 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.4% C 0.170 H 112.4°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#F2FB66
RGBrgb(242, 251, 102)
HSLhsl(64, 95%, 69%)
HSVhsv(64, 59%, 98%)
CMYKcmyk(3.6%, 0%, 59.4%, 1.6%)
CIE-LABlab(95.51, -21.68, 68.43)
CIE-LCHlch(95.51, 71.78, 107.58°)
OKLaboklab(95.38% -0.0648 0.1568)
OKLCHoklch(95.38% 0.17 112.4)
XYZxyz(73.5153, 88.8324, 25.8415)
Luminance0.8883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB66 #6F66FB
analogous
#FBBA66 #F2FB66 #A8FB66
triadic
#F2FB66 #66F2FB #FB66F2
tetradic
#F2FB66 #66FBBA #6F66FB #FB66A8
square
#F2FB66 #66FBBA #6F66FB #FB66A8
split-complementary
#F2FB66 #66A8FB #BA66FB
monochromatic
#D4E106 #EDF92A #F2FB66 #F7FDA2 #FCFEDD

Accessibility & contrast

On white

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

On black

18.77
#F2FB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB66
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB66#FFFFFF#000000##000000
##F2FB661.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF055
Deuteranopia (green-blind)
#FFF46F
Tritanopia (blue-blind)
#FFEDDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fb66;
/* rgb */ color: rgb(242, 251, 102);
/* oklch */ color: oklch(95.4% 0.170 112.4);
Tailwind
colors: {
  custom: {
    50: '#f9fc97',
    500: '#f2fb66',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb66;
$custom-light: #f9fc97;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb66",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 102
  },
  "hsl": {
    "h": 63.624,
    "s": 94.904,
    "l": 69.216
  },
  "oklch": {
    "l": 0.95381,
    "c": 0.16968,
    "h": 112.4
  },
  "luminance": 0.88831
}

Semantic roles & 50–950 ramp

primary
#F2FB66
secondary
#3A30D5
accent
#00E60E
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2FB66

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

Preview Lab → · Contrast checker → · Palette generator →

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