#F2FB60#F2FB60

#F2FB60 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.3% C 0.174 H 112.4°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#F2FB60
RGBrgb(242, 251, 96)
HSLhsl(63, 95%, 68%)
HSVhsv(63, 62%, 98%)
CMYKcmyk(3.6%, 0%, 61.8%, 1.6%)
CIE-LABlab(95.46, -22.07, 70.81)
CIE-LCHlch(95.46, 74.17, 107.31°)
OKLaboklab(95.33% -0.0665 0.1611)
OKLCHoklch(95.33% 0.174 112.4)
XYZxyz(73.2284, 88.7177, 24.3308)
Luminance0.8872 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB60 #6960FB
analogous
#FBB660 #F2FB60 #A4FB60
triadic
#F2FB60 #60F2FB #FB60F2
tetradic
#F2FB60 #60FBB6 #6960FB #FB60A4
square
#F2FB60 #60FBB6 #6960FB #FB60A4
split-complementary
#F2FB60 #60A4FB #B660FB
monochromatic
#CFDB06 #EDF924 #F2FB60 #F7FD9C #FCFED7

Accessibility & contrast

On white

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

On black

18.74
#F2FB60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB60
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB60#FFFFFF#000000##000000
##F2FB601.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f2fb60;
/* rgb */ color: rgb(242, 251, 96);
/* oklch */ color: oklch(95.3% 0.174 112.4);
Tailwind
colors: {
  custom: {
    50: '#f9fc94',
    500: '#f2fb60',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb60;
$custom-light: #f9fc94;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb60",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 96
  },
  "hsl": {
    "h": 63.484,
    "s": 95.092,
    "l": 68.039
  },
  "oklch": {
    "l": 0.95327,
    "c": 0.17426,
    "h": 112.4
  },
  "luminance": 0.88716
}

Semantic roles & 50–950 ramp

primary
#F2FB60
secondary
#352BD4
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F2FB60

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

Preview Lab → · Contrast checker → · Palette generator →

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