#F2FB78#F2FB78

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

Color values

HEX#F2FB78
RGBrgb(242, 251, 120)
HSLhsl(64, 94%, 73%)
HSVhsv(64, 52%, 98%)
CMYKcmyk(3.6%, 0%, 52.2%, 1.6%)
CIE-LABlab(95.68, -20.34, 60.88)
CIE-LCHlch(95.68, 64.19, 108.47°)
OKLaboklab(95.57% -0.0592 0.1427)
OKLCHoklch(95.57% 0.154 112.5)
XYZxyz(74.5068, 89.2291, 31.0637)
Luminance0.8923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB78 #8178FB
analogous
#FBC278 #F2FB78 #B0FB78
triadic
#F2FB78 #78F2FB #FB78F2
tetradic
#F2FB78 #78FBC2 #8178FB #FB78B0
square
#F2FB78 #78FBC2 #8178FB #FB78B0
split-complementary
#F2FB78 #78B0FB #C278FB
monochromatic
#E1F107 #ECF93D #F2FB78 #F8FDB3 #FCFEE1

Accessibility & contrast

On white

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

On black

18.85
#F2FB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F2FB78
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F2FB78#FFFFFF#000000##000000
##F2FB781.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16B
Deuteranopia (green-blind)
#FFF47F
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f2fb78;
/* rgb */ color: rgb(242, 251, 120);
/* oklch */ color: oklch(95.6% 0.154 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fca2',
    500: '#f2fb78',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb78;
$custom-light: #f9fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb78",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 120
  },
  "hsl": {
    "h": 64.122,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95567,
    "c": 0.15448,
    "h": 112.5
  },
  "luminance": 0.89228
}

Semantic roles & 50–950 ramp

primary
#F2FB78
secondary
#4A3FD8
accent
#00E610
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FB78

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

Preview Lab → · Contrast checker → · Palette generator →

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