#F1FA57#F1FA57

#F1FA57 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.0% C 0.180 H 112.4°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#F1FA57
RGBrgb(241, 250, 87)
HSLhsl(63, 94%, 66%)
HSVhsv(63, 65%, 98%)
CMYKcmyk(3.6%, 0%, 65.2%, 2%)
CIE-LABlab(95.06, -22.53, 73.85)
CIE-LCHlch(95.06, 77.21, 106.96°)
OKLaboklab(94.97% -0.0686 0.1662)
OKLCHoklch(94.97% 0.18 112.4)
XYZxyz(72.1836, 87.7617, 22.1522)
Luminance0.8776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1FA57 #6057FA
analogous
#FAB157 #F1FA57 #9FFA57
triadic
#F1FA57 #57F1FA #FA57F1
tetradic
#F1FA57 #57FAB1 #6057FA #FA579F
square
#F1FA57 #57FAB1 #6057FA #FA579F
split-complementary
#F1FA57 #579FFA #B157FA
monochromatic
#C5D006 #ECF81C #F1FA57 #F6FC92 #FBFECE

Accessibility & contrast

On white

1.13
#F1FA57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#F1FA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1FA57
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1FA57#FFFFFF#000000##000000
##F1FA571.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF40
Deuteranopia (green-blind)
#FFF362
Tritanopia (blue-blind)
#FFECD9
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f1fa57;
/* rgb */ color: rgb(241, 250, 87);
/* oklch */ color: oklch(95.0% 0.180 112.4);
Tailwind
colors: {
  custom: {
    50: '#f9fb8e',
    500: '#f1fa57',
    950: '#000000',
  },
}
SCSS
$custom: #f1fa57;
$custom-light: #f9fb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#f1fa57",
  "rgb": {
    "r": 241,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 63.313,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94966,
    "c": 0.17983,
    "h": 112.4
  },
  "luminance": 0.8776
}

Semantic roles & 50–950 ramp

primary
#F1FA57
secondary
#332ACB
accent
#00E60D
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #F1FA57

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

Preview Lab → · Contrast checker → · Palette generator →

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