#F1FA5F#F1FA5F

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

Color values

HEX#F1FA5F
RGBrgb(241, 250, 95)
HSLhsl(63, 94%, 68%)
HSVhsv(63, 62%, 98%)
CMYKcmyk(3.6%, 0%, 62%, 2%)
CIE-LABlab(95.12, -22.05, 70.82)
CIE-LCHlch(95.12, 74.18, 107.30°)
OKLaboklab(95.03% -0.0664 0.161)
OKLCHoklch(95.03% 0.174 112.4)
XYZxyz(72.5288, 87.8998, 23.9699)
Luminance0.8790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1FA5F #685FFA
analogous
#FAB65F #F1FA5F #A3FA5F
triadic
#F1FA5F #5FF1FA #FA5FF1
tetradic
#F1FA5F #5FFAB6 #685FFA #FA5FA3
square
#F1FA5F #5FFAB6 #685FFA #FA5FA3
split-complementary
#F1FA5F #5FA3FA #B65FFA
monochromatic
#CCD807 #ECF824 #F1FA5F #F6FC9A #FBFED6

Accessibility & contrast

On white

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

On black

18.58
#F1FA5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1FA5F
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1FA5F#FFFFFF#000000##000000
##F1FA5F1.001.1318.5818.58
#FFFFFF1.131.0021.0021.00
#00000018.5821.001.001.00
##00000018.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF4B
Deuteranopia (green-blind)
#FFF369
Tritanopia (blue-blind)
#FFECDA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f1fa5f;
/* rgb */ color: rgb(241, 250, 95);
/* oklch */ color: oklch(95.0% 0.174 112.4);
Tailwind
colors: {
  custom: {
    50: '#f9fb93',
    500: '#f1fa5f',
    950: '#000000',
  },
}
SCSS
$custom: #f1fa5f;
$custom-light: #f9fb93;
$custom-dark: #000000;
JSON
{
  "hex": "#f1fa5f",
  "rgb": {
    "r": 241,
    "g": 250,
    "b": 95
  },
  "hsl": {
    "h": 63.484,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.95032,
    "c": 0.17417,
    "h": 112.4
  },
  "luminance": 0.87898
}

Semantic roles & 50–950 ramp

primary
#F1FA5F
secondary
#352BD2
accent
#00E60D
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F1FA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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