#F1F87C#F1F87C

#F1F87C is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 94.9% C 0.148 H 111.8°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F1F87C
RGBrgb(241, 248, 124)
HSLhsl(63, 90%, 73%)
HSVhsv(63, 50%, 97%)
CMYKcmyk(2.8%, 0%, 50%, 2.7%)
CIE-LABlab(94.86, -18.95, 58.11)
CIE-LCHlch(94.86, 61.12, 108.06°)
OKLaboklab(94.91% -0.0548 0.1371)
OKLCHoklch(94.91% 0.148 111.8)
XYZxyz(73.4826, 87.2922, 32.0430)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F87C #837CF8
analogous
#F8C17C #F1F87C #B3F87C
triadic
#F1F87C #7CF1F8 #F87CF1
tetradic
#F1F87C #7CF8C1 #837CF8 #F87CB3
square
#F1F87C #7CF8C1 #837CF8 #F87CB3
split-complementary
#F1F87C #7CB3F8 #C17CF8
monochromatic
#E0ED0D #EBF542 #F1F87C #F7FBB6 #FCFDE2

Accessibility & contrast

On white

1.14
#F1F87C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#F1F87C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F87C
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F87C#FFFFFF#000000##000000
##F1F87C1.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE70
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#FFEBDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f1f87c;
/* rgb */ color: rgb(241, 248, 124);
/* oklch */ color: oklch(94.9% 0.148 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8faa5',
    500: '#f1f87c',
    950: '#000000',
  },
}
SCSS
$custom: #f1f87c;
$custom-light: #f8faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f87c",
  "rgb": {
    "r": 241,
    "g": 248,
    "b": 124
  },
  "hsl": {
    "h": 63.387,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.94912,
    "c": 0.14762,
    "h": 111.8
  },
  "luminance": 0.87291
}

Semantic roles & 50–950 ramp

primary
#F1F87C
secondary
#4C44D4
accent
#00E60D
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F1F87C

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

Preview Lab → · Contrast checker → · Palette generator →

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