#F1F778#F1F778

#F1F778 is a very light, vivid yellow. Relative luminance 0.866; OKLCH L 94.7% C 0.150 H 111.4°. Best body text is #000000 at 18.32:1 contrast (WCAG AA passes).

Color values

HEX#F1F778
RGBrgb(241, 247, 120)
HSLhsl(63, 89%, 72%)
HSVhsv(63, 51%, 97%)
CMYKcmyk(2.4%, 0%, 51.4%, 3.1%)
CIE-LABlab(94.56, -18.81, 59.57)
CIE-LCHlch(94.56, 62.46, 107.52°)
OKLaboklab(94.66% -0.0548 0.1399)
OKLCHoklch(94.66% 0.15 111.4)
XYZxyz(72.9281, 86.5799, 30.6355)
Luminance0.8658 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F778 #7E78F7
analogous
#F7BE78 #F1F778 #B1F778
triadic
#F1F778 #78F1F7 #F778F1
tetradic
#F1F778 #78F7BE #7E78F7 #F778B1
square
#F1F778 #78F7BE #7E78F7 #F778B1
split-complementary
#F1F778 #78B1F7 #BE78F7
monochromatic
#DDE70E #EBF43E #F1F778 #F7FAB2 #FCFDE2

Accessibility & contrast

On white

1.15
#F1F778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.32
#F1F778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F778
18.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F778#FFFFFF#000000##000000
##F1F7781.001.1518.3218.32
#FFFFFF1.151.0021.0021.00
#00000018.3221.001.001.00
##00000018.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFF17F
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f1f778;
/* rgb */ color: rgb(241, 247, 120);
/* oklch */ color: oklch(94.7% 0.150 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8f9a2',
    500: '#f1f778',
    950: '#000000',
  },
}
SCSS
$custom: #f1f778;
$custom-light: #f8f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f778",
  "rgb": {
    "r": 241,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 62.835,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94657,
    "c": 0.15021,
    "h": 111.4
  },
  "luminance": 0.86578
}

Semantic roles & 50–950 ramp

primary
#F1F778
secondary
#4841D3
accent
#00E50B
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F1F778

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

Preview Lab → · Contrast checker → · Palette generator →

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