#F2FB77#F2FB77

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

Color values

HEX#F2FB77
RGBrgb(242, 251, 119)
HSLhsl(64, 94%, 73%)
HSVhsv(64, 53%, 98%)
CMYKcmyk(3.6%, 0%, 52.6%, 1.6%)
CIE-LABlab(95.67, -20.42, 61.32)
CIE-LCHlch(95.67, 64.63, 108.42°)
OKLaboklab(95.56% -0.0595 0.1435)
OKLCHoklch(95.56% 0.155 112.5)
XYZxyz(74.4465, 89.2049, 30.7457)
Luminance0.8920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F2FB77 #8077FB
analogous
#FBC277 #F2FB77 #B0FB77
triadic
#F2FB77 #77F2FB #FB77F2
tetradic
#F2FB77 #77FBC2 #8077FB #FB77B0
square
#F2FB77 #77FBC2 #8077FB #FB77B0
split-complementary
#F2FB77 #77B0FB #C277FB
monochromatic
#E1F107 #ECF93C #F2FB77 #F8FDB2 #FCFEE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F2FB77#FFFFFF#000000##000000
##F2FB771.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)
#FFF16A
Deuteranopia (green-blind)
#FFF47E
Tritanopia (blue-blind)
#FFEEDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f2fb77;
/* rgb */ color: rgb(242, 251, 119);
/* oklch */ color: oklch(95.6% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#f9fca2',
    500: '#f2fb77',
    950: '#000000',
  },
}
SCSS
$custom: #f2fb77;
$custom-light: #f9fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#f2fb77",
  "rgb": {
    "r": 242,
    "g": 251,
    "b": 119
  },
  "hsl": {
    "h": 64.091,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95555,
    "c": 0.15539,
    "h": 112.5
  },
  "luminance": 0.89204
}

Semantic roles & 50–950 ramp

primary
#F2FB77
secondary
#493FD8
accent
#00E610
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F2FB77

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

Preview Lab → · Contrast checker → · Palette generator →

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