#F1F974#F1F974

#F1F974 is a very light, vivid yellow. Relative luminance 0.877; OKLCH L 95.0% C 0.156 H 112.1°. Best body text is #000000 at 18.54:1 contrast (WCAG AA passes).

Color values

HEX#F1F974
RGBrgb(241, 249, 116)
HSLhsl(64, 92%, 72%)
HSVhsv(64, 53%, 98%)
CMYKcmyk(3.2%, 0%, 53.4%, 2.4%)
CIE-LABlab(95.04, -20.09, 61.91)
CIE-LCHlch(95.04, 65.08, 107.98°)
OKLaboklab(95.03% -0.0588 0.1445)
OKLCHoklch(95.03% 0.156 112.1)
XYZxyz(73.3053, 87.7145, 29.5886)
Luminance0.8771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F974 #7C74F9
analogous
#F9BF74 #F1F974 #AFF974
triadic
#F1F974 #74F1F9 #F974F1
tetradic
#F1F974 #74F9BF #7C74F9 #F974AF
square
#F1F974 #74F9BF #7C74F9 #F974AF
split-complementary
#F1F974 #74AFF9 #BF74F9
monochromatic
#DBE90A #EBF639 #F1F974 #F7FCAF #FCFEE2

Accessibility & contrast

On white

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

On black

18.54
#F1F974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F974
18.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F974#FFFFFF#000000##000000
##F1F9741.001.1318.5418.54
#FFFFFF1.131.0021.0021.00
#00000018.5421.001.001.00
##00000018.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f1f974;
/* rgb */ color: rgb(241, 249, 116);
/* oklch */ color: oklch(95.0% 0.156 112.1);
Tailwind
colors: {
  custom: {
    50: '#f8fba0',
    500: '#f1f974',
    950: '#000000',
  },
}
SCSS
$custom: #f1f974;
$custom-light: #f8fba0;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f974",
  "rgb": {
    "r": 241,
    "g": 249,
    "b": 116
  },
  "hsl": {
    "h": 63.609,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95028,
    "c": 0.15603,
    "h": 112.1
  },
  "luminance": 0.87713
}

Semantic roles & 50–950 ramp

primary
#F1F974
secondary
#463DD5
accent
#00E60E
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F1F974

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

Preview Lab → · Contrast checker → · Palette generator →

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