#F1F97C#F1F97C

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

Color values

HEX#F1F97C
RGBrgb(241, 249, 124)
HSLhsl(64, 91%, 73%)
HSVhsv(64, 50%, 98%)
CMYKcmyk(3.2%, 0%, 50.2%, 2.4%)
CIE-LABlab(95.12, -19.43, 58.42)
CIE-LCHlch(95.12, 61.57, 108.40°)
OKLaboklab(95.12% -0.0562 0.1377)
OKLCHoklch(95.12% 0.149 112.2)
XYZxyz(73.7908, 87.9088, 32.1458)
Luminance0.8791 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F97C #847CF9
analogous
#F9C27C #F1F97C #B2F97C
triadic
#F1F97C #7CF1F9 #F97CF1
tetradic
#F1F97C #7CF9C2 #847CF9 #F97CB2
square
#F1F97C #7CF9C2 #847CF9 #F97CB2
split-complementary
#F1F97C #7CB2F9 #C27CF9
monochromatic
#E1F00B #EBF641 #F1F97C #F7FCB7 #FCFEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1F97C#FFFFFF#000000##000000
##F1F97C1.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)
#FFEF70
Deuteranopia (green-blind)
#FFF383
Tritanopia (blue-blind)
#FFECDD
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f1f97c;
/* rgb */ color: rgb(241, 249, 124);
/* oklch */ color: oklch(95.1% 0.149 112.2);
Tailwind
colors: {
  custom: {
    50: '#f8fba5',
    500: '#f1f97c',
    950: '#000000',
  },
}
SCSS
$custom: #f1f97c;
$custom-light: #f8fba5;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f97c",
  "rgb": {
    "r": 241,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 63.84,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.9512,
    "c": 0.14875,
    "h": 112.2
  },
  "luminance": 0.87907
}

Semantic roles & 50–950 ramp

primary
#F1F97C
secondary
#4D44D6
accent
#00E60F
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #F1F97C

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

Preview Lab → · Contrast checker → · Palette generator →

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