#F1FA87#F1FA87

#F1FA87 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.5% C 0.139 H 112.7°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#F1FA87
RGBrgb(241, 250, 135)
HSLhsl(65, 92%, 75%)
HSVhsv(65, 46%, 98%)
CMYKcmyk(3.6%, 0%, 46%, 2%)
CIE-LABlab(95.51, -18.93, 53.80)
CIE-LCHlch(95.51, 57.04, 109.38°)
OKLaboklab(95.47% -0.0537 0.1285)
OKLCHoklch(95.47% 0.139 112.7)
XYZxyz(74.8356, 88.8225, 36.1192)
Luminance0.8882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1FA87 #9087FA
analogous
#FACA87 #F1FA87 #B7FA87
triadic
#F1FA87 #87F1FA #FA87F1
tetradic
#F1FA87 #87FACA #9087FA #FA87B7
square
#F1FA87 #87FACA #9087FA #FA87B7
split-complementary
#F1FA87 #87B7FA #CA87FA
monochromatic
#E3F511 #EAF84C #F1FA87 #F8FCC2 #FCFEE2

Accessibility & contrast

On white

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

On black

18.76
#F1FA87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1FA87
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1FA87#FFFFFF#000000##000000
##F1FA871.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF17D
Deuteranopia (green-blind)
#FFF48D
Tritanopia (blue-blind)
#FEEEDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f1fa87;
/* rgb */ color: rgb(241, 250, 135);
/* oklch */ color: oklch(95.5% 0.139 112.7);
Tailwind
colors: {
  custom: {
    50: '#f7fbac',
    500: '#f1fa87',
    950: '#000000',
  },
}
SCSS
$custom: #f1fa87;
$custom-light: #f7fbac;
$custom-dark: #000000;
JSON
{
  "hex": "#f1fa87",
  "rgb": {
    "r": 241,
    "g": 250,
    "b": 135
  },
  "hsl": {
    "h": 64.696,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.95466,
    "c": 0.13929,
    "h": 112.7
  },
  "luminance": 0.88821
}

Semantic roles & 50–950 ramp

primary
#F1FA87
secondary
#584DD8
accent
#00E612
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #F1FA87

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

Preview Lab → · Contrast checker → · Palette generator →

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