#F1F672#F1F672

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

Color values

HEX#F1F672
RGBrgb(241, 246, 114)
HSLhsl(62, 88%, 71%)
HSVhsv(62, 54%, 96%)
CMYKcmyk(2%, 0%, 53.7%, 3.5%)
CIE-LABlab(94.24, -18.81, 61.87)
CIE-LCHlch(94.24, 64.66, 106.91°)
OKLaboklab(94.38% -0.0554 0.1442)
OKLCHoklch(94.38% 0.155 111)
XYZxyz(72.2704, 85.8288, 28.6759)
Luminance0.8583 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F672 #7772F6
analogous
#F6B972 #F1F672 #AFF672
triadic
#F1F672 #72F1F6 #F672F1
tetradic
#F1F672 #72F6B9 #7772F6 #F672AF
square
#F1F672 #72F6B9 #7772F6 #F672AF
split-complementary
#F1F672 #72AFF6 #B972F6
monochromatic
#D7DF0E #EBF238 #F1F672 #F7FAAC #FCFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1F672#FFFFFF#000000##000000
##F1F6721.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)
#FFEC65
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#FFE9D9
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f1f672;
/* rgb */ color: rgb(241, 246, 114);
/* oklch */ color: oklch(94.4% 0.154 111.0);
Tailwind
colors: {
  custom: {
    50: '#f8f99e',
    500: '#f1f672',
    950: '#000000',
  },
}
SCSS
$custom: #f1f672;
$custom-light: #f8f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f672",
  "rgb": {
    "r": 241,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 62.273,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94382,
    "c": 0.1545,
    "h": 111
  },
  "luminance": 0.85827
}

Semantic roles & 50–950 ramp

primary
#F1F672
secondary
#413CD1
accent
#01E50A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F1F672

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

Preview Lab → · Contrast checker → · Palette generator →

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