#F1F766#F1F766

#F1F766 is a very light, vivid yellow. Relative luminance 0.862; OKLCH L 94.5% C 0.166 H 111.4°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F1F766
RGBrgb(241, 247, 102)
HSLhsl(62, 90%, 68%)
HSVhsv(62, 59%, 97%)
CMYKcmyk(2.4%, 0%, 58.7%, 3.1%)
CIE-LABlab(94.39, -20.16, 67.19)
CIE-LCHlch(94.39, 70.15, 106.70°)
OKLaboklab(94.47% -0.0604 0.1542)
OKLCHoklch(94.47% 0.166 111.4)
XYZxyz(71.9366, 86.1832, 25.4134)
Luminance0.8618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1F766 #6C66F7
analogous
#F7B466 #F1F766 #A8F766
triadic
#F1F766 #66F1F7 #F766F1
tetradic
#F1F766 #66F7B4 #6C66F7 #F766A8
square
#F1F766 #66F7B4 #6C66F7 #F766A8
split-complementary
#F1F766 #66A8F7 #B466F7
monochromatic
#CFD70B #ECF42C #F1F766 #F6FAA0 #FCFDDA

Accessibility & contrast

On white

1.15
#F1F766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#F1F766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1F766
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1F766#FFFFFF#000000##000000
##F1F7661.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF16F
Tritanopia (blue-blind)
#FFE9D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f1f766;
/* rgb */ color: rgb(241, 247, 102);
/* oklch */ color: oklch(94.5% 0.166 111.4);
Tailwind
colors: {
  custom: {
    50: '#f8f997',
    500: '#f1f766',
    950: '#000000',
  },
}
SCSS
$custom: #f1f766;
$custom-light: #f8f997;
$custom-dark: #000000;
JSON
{
  "hex": "#f1f766",
  "rgb": {
    "r": 241,
    "g": 247,
    "b": 102
  },
  "hsl": {
    "h": 62.483,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.94468,
    "c": 0.16563,
    "h": 111.4
  },
  "luminance": 0.86182
}

Semantic roles & 50–950 ramp

primary
#F1F766
secondary
#3831D0
accent
#00E609
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170E
muted
#86857F

Preview Lab

Preview with #F1F766

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

Preview Lab → · Contrast checker → · Palette generator →

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