#F1F87D#F1F87D

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

Color values

HEX#F1F87D
RGBrgb(241, 248, 125)
HSLhsl(63, 90%, 73%)
HSVhsv(63, 50%, 97%)
CMYKcmyk(2.8%, 0%, 49.6%, 2.7%)
CIE-LABlab(94.87, -18.87, 57.67)
CIE-LCHlch(94.87, 60.68, 108.12°)
OKLaboklab(94.92% -0.0545 0.1362)
OKLCHoklch(94.92% 0.147 111.8)
XYZxyz(73.5461, 87.3177, 32.3778)
Luminance0.8732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F87D #847DF8
analogous
#F8C27D #F1F87D #B3F87D
triadic
#F1F87D #7DF1F8 #F87DF1
tetradic
#F1F87D #7DF8C2 #847DF8 #F87DB3
square
#F1F87D #7DF8C2 #847DF8 #F87DB3
split-complementary
#F1F87D #7DB3F8 #C27DF8
monochromatic
#E1EE0D #EBF543 #F1F87D #F7FBB7 #FCFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1F87D#FFFFFF#000000##000000
##F1F87D1.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)
#FFEF72
Deuteranopia (green-blind)
#FFF283
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f1f87d;
/* rgb */ color: rgb(241, 248, 125);
/* oklch */ color: oklch(94.9% 0.147 111.8);
Tailwind
colors: {
  custom: {
    50: '#f8faa5',
    500: '#f1f87d',
    950: '#000000',
  },
}
SCSS
$custom: #f1f87d;
$custom-light: #f8faa5;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f87d",
  "rgb": {
    "r": 241,
    "g": 248,
    "b": 125
  },
  "hsl": {
    "h": 63.415,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.94924,
    "c": 0.14668,
    "h": 111.8
  },
  "luminance": 0.87316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F1F87D

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

Preview Lab → · Contrast checker → · Palette generator →

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