#F1FA72#F1FA72

#F1FA72 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.2% C 0.159 H 112.5°. Best body text is #000000 at 18.66:1 contrast (WCAG AA passes).

Color values

HEX#F1FA72
RGBrgb(241, 250, 114)
HSLhsl(64, 93%, 71%)
HSVhsv(64, 54%, 98%)
CMYKcmyk(3.6%, 0%, 54.4%, 2%)
CIE-LABlab(95.28, -20.73, 63.06)
CIE-LCHlch(95.28, 66.38, 108.20°)
OKLaboklab(95.22% -0.0608 0.1468)
OKLCHoklch(95.22% 0.159 112.5)
XYZxyz(73.5001, 88.2883, 29.0858)
Luminance0.8829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1FA72 #7B72FA
analogous
#FABF72 #F1FA72 #ADFA72
triadic
#F1FA72 #72F1FA #FA72F1
tetradic
#F1FA72 #72FABF #7B72FA #FA72AD
square
#F1FA72 #72FABF #7B72FA #FA72AD
split-complementary
#F1FA72 #72ADFA #BF72FA
monochromatic
#DAE908 #EBF837 #F1FA72 #F7FCAD #FCFEE1

Accessibility & contrast

On white

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

On black

18.66
#F1FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1FA72
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1FA72#FFFFFF#000000##000000
##F1FA721.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF064
Deuteranopia (green-blind)
#FFF37A
Tritanopia (blue-blind)
#FFEDDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f1fa72;
/* rgb */ color: rgb(241, 250, 114);
/* oklch */ color: oklch(95.2% 0.159 112.5);
Tailwind
colors: {
  custom: {
    50: '#f8fb9f',
    500: '#f1fa72',
    950: '#000000',
  },
}
SCSS
$custom: #f1fa72;
$custom-light: #f8fb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f1fa72",
  "rgb": {
    "r": 241,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 63.971,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.95215,
    "c": 0.1589,
    "h": 112.5
  },
  "luminance": 0.88287
}

Semantic roles & 50–950 ramp

primary
#F1FA72
secondary
#453BD6
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F1FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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