#F1F97A#F1F97A

#F1F97A is a very light, vivid yellow. Relative luminance 0.879; OKLCH L 95.1% C 0.151 H 112.2°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).

Color values

HEX#F1F97A
RGBrgb(241, 249, 122)
HSLhsl(64, 91%, 73%)
HSVhsv(64, 51%, 98%)
CMYKcmyk(3.2%, 0%, 51%, 2.4%)
CIE-LABlab(95.10, -19.60, 59.30)
CIE-LCHlch(95.10, 62.45, 108.29°)
OKLaboklab(95.1% -0.0568 0.1395)
OKLCHoklch(95.1% 0.151 112.2)
XYZxyz(73.6656, 87.8587, 31.4864)
Luminance0.8786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F97A #827AF9
analogous
#F9C27A #F1F97A #B1F97A
triadic
#F1F97A #7AF1F9 #F97AF1
tetradic
#F1F97A #7AF9C2 #827AF9 #F97AB1
square
#F1F97A #7AF9C2 #827AF9 #F97AB1
split-complementary
#F1F97A #7AB1F9 #C27AF9
monochromatic
#E0EE0B #EBF63F #F1F97A #F7FCB5 #FCFEE2

Accessibility & contrast

On white

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

On black

18.57
#F1F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F97A
18.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F97A#FFFFFF#000000##000000
##F1F97A1.001.1318.5718.57
#FFFFFF1.131.0021.0021.00
#00000018.5721.001.001.00
##00000018.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6E
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#FFECDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f1f97a;
/* rgb */ color: rgb(241, 249, 122);
/* oklch */ color: oklch(95.1% 0.151 112.2);
Tailwind
colors: {
  custom: {
    50: '#f8fba4',
    500: '#f1f97a',
    950: '#000000',
  },
}
SCSS
$custom: #f1f97a;
$custom-light: #f8fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f97a",
  "rgb": {
    "r": 241,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 63.78,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.95096,
    "c": 0.15061,
    "h": 112.2
  },
  "luminance": 0.87857
}

Semantic roles & 50–950 ramp

primary
#F1F97A
secondary
#4B42D5
accent
#00E60E
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F1F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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