#F1E766#F1E766

#F1E766 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.2% C 0.149 H 104.9°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#F1E766
RGBrgb(241, 231, 102)
HSLhsl(56, 83%, 67%)
HSVhsv(56, 58%, 95%)
CMYKcmyk(0%, 4.1%, 57.7%, 5.5%)
CIE-LABlab(90.24, -12.37, 62.60)
CIE-LCHlch(90.24, 63.81, 101.18°)
OKLaboklab(91.16% -0.0383 0.1445)
OKLCHoklch(91.16% 0.149 104.9)
XYZxyz(67.2520, 76.8142, 23.8518)
Luminance0.7681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1E766 #6670F1
analogous
#F1A166 #F1E766 #B6F166
triadic
#F1E766 #66F1E7 #E766F1
tetradic
#F1E766 #66F1A1 #6670F1 #F166B6
square
#F1E766 #66F1A1 #6670F1 #F166B6
split-complementary
#F1E766 #66B6F1 #A166F1
monochromatic
#CABD12 #ECDE2E #F1E766 #F6F09E #FBF9D6

Accessibility & contrast

On white

1.28
#F1E766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#F1E766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1E766
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1E766#FFFFFF#000000##000000
##F1E7661.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E058
Deuteranopia (green-blind)
#FDE66D
Tritanopia (blue-blind)
#FFD9CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f1e766;
/* rgb */ color: rgb(241, 231, 102);
/* oklch */ color: oklch(91.2% 0.149 104.9);
Tailwind
colors: {
  custom: {
    50: '#f8ee96',
    500: '#f1e766',
    950: '#000000',
  },
}
SCSS
$custom: #f1e766;
$custom-light: #f8ee96;
$custom-dark: #000000;
JSON
{
  "hex": "#f1e766",
  "rgb": {
    "r": 241,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 55.683,
    "s": 83.234,
    "l": 67.255
  },
  "oklch": {
    "l": 0.91156,
    "c": 0.14945,
    "h": 104.9
  },
  "luminance": 0.76812
}

Semantic roles & 50–950 ramp

primary
#F1E766
secondary
#343FC7
accent
#16E006
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F1E766

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

Preview Lab → · Contrast checker → · Palette generator →

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