#F1F674#F1F674

#F1F674 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.4% C 0.153 H 111.0°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).

Color values

HEX#F1F674
RGBrgb(241, 246, 116)
HSLhsl(62, 88%, 71%)
HSVhsv(62, 53%, 96%)
CMYKcmyk(2%, 0%, 52.8%, 3.5%)
CIE-LABlab(94.26, -18.65, 61.01)
CIE-LCHlch(94.26, 63.79, 107.00°)
OKLaboklab(94.4% -0.0547 0.1426)
OKLCHoklch(94.4% 0.153 111)
XYZxyz(72.3854, 85.8748, 29.2820)
Luminance0.8587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F674 #7974F6
analogous
#F6BA74 #F1F674 #B0F674
triadic
#F1F674 #74F1F6 #F674F1
tetradic
#F1F674 #74F6BA #7974F6 #F674B0
square
#F1F674 #74F6BA #7974F6 #F674B0
split-complementary
#F1F674 #74B0F6 #BA74F6
monochromatic
#D9E10F #EBF23B #F1F674 #F7FAAD #FCFDE2

Accessibility & contrast

On white

1.16
#F1F674 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.17
#F1F674 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F674
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F674#FFFFFF#000000##000000
##F1F6741.001.1618.1718.17
#FFFFFF1.161.0021.0021.00
#00000018.1721.001.001.00
##00000018.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC67
Deuteranopia (green-blind)
#FFF07B
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f1f674;
/* rgb */ color: rgb(241, 246, 116);
/* oklch */ color: oklch(94.4% 0.153 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f9a0',
    500: '#f1f674',
    950: '#000000',
  },
}
SCSS
$custom: #f1f674;
$custom-light: #f8f9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f674",
  "rgb": {
    "r": 241,
    "g": 246,
    "b": 116
  },
  "hsl": {
    "h": 62.308,
    "s": 87.838,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94404,
    "c": 0.15273,
    "h": 111
  },
  "luminance": 0.85873
}

Semantic roles & 50–950 ramp

primary
#F1F674
secondary
#433DD1
accent
#01E40A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F1F674

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

Preview Lab → · Contrast checker → · Palette generator →

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