#F1F960#F1F960

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

Color values

HEX#F1F960
RGBrgb(241, 249, 96)
HSLhsl(63, 93%, 68%)
HSVhsv(63, 61%, 98%)
CMYKcmyk(3.2%, 0%, 61.4%, 2.4%)
CIE-LABlab(94.86, -21.51, 70.15)
CIE-LCHlch(94.86, 73.38, 107.05°)
OKLaboklab(94.83% -0.0648 0.1597)
OKLCHoklch(94.83% 0.172 112.1)
XYZxyz(72.2646, 87.2983, 24.1076)
Luminance0.8730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F960 #6860F9
analogous
#F9B460 #F1F960 #A5F960
triadic
#F1F960 #60F1F9 #F960F1
tetradic
#F1F960 #60F9B4 #6860F9 #F960A5
square
#F1F960 #60F9B4 #6860F9 #F960A5
split-complementary
#F1F960 #60A5F9 #B460F9
monochromatic
#CCD708 #ECF725 #F1F960 #F6FB9B #FBFDD6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1F960#FFFFFF#000000##000000
##F1F9601.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)
#FFEE4D
Deuteranopia (green-blind)
#FFF26A
Tritanopia (blue-blind)
#FFEBD9
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f1f960;
/* rgb */ color: rgb(241, 249, 96);
/* oklch */ color: oklch(94.8% 0.172 112.1);
Tailwind
colors: {
  custom: {
    50: '#f9fb94',
    500: '#f1f960',
    950: '#000000',
  },
}
SCSS
$custom: #f1f960;
$custom-light: #f9fb94;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f960",
  "rgb": {
    "r": 241,
    "g": 249,
    "b": 96
  },
  "hsl": {
    "h": 63.137,
    "s": 92.727,
    "l": 67.647
  },
  "oklch": {
    "l": 0.94831,
    "c": 0.17238,
    "h": 112.1
  },
  "luminance": 0.87297
}

Semantic roles & 50–950 ramp

primary
#F1F960
secondary
#352CD1
accent
#00E60C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F1F960

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

Preview Lab → · Contrast checker → · Palette generator →

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