#F1DF76#F1DF76

#F1DF76 is a very light, vivid yellow. Relative luminance 0.728; OKLCH L 89.7% C 0.128 H 99.8°. Best body text is #000000 at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#F1DF76
RGBrgb(241, 223, 118)
HSLhsl(51, 81%, 70%)
HSVhsv(51, 51%, 95%)
CMYKcmyk(0%, 7.5%, 51%, 5.5%)
CIE-LABlab(88.35, -7.15, 53.16)
CIE-LCHlch(88.35, 53.64, 97.66°)
OKLaboklab(89.71% -0.0216 0.1258)
OKLCHoklch(89.71% 0.128 99.8)
XYZxyz(65.9354, 72.7866, 27.7121)
Luminance0.7278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DF76 #7688F1
analogous
#F1A276 #F1DF76 #C5F176
triadic
#F1DF76 #76F1DF #DF76F1
tetradic
#F1DF76 #76F1A2 #7688F1 #F176C5
square
#F1DF76 #76F1A2 #7688F1 #F176C5
split-complementary
#F1DF76 #76C5F1 #A276F1
monochromatic
#D7BA16 #EBD23E #F1DF76 #F7ECAE #FCF9E3

Accessibility & contrast

On white

1.35
#F1DF76 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.56
#F1DF76 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DF76
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DF76#FFFFFF#000000##000000
##F1DF761.001.3515.5615.56
#FFFFFF1.351.0021.0021.00
#00000015.5621.001.001.00
##00000015.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6D
Deuteranopia (green-blind)
#F5E17B
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f1df76;
/* rgb */ color: rgb(241, 223, 118);
/* oklch */ color: oklch(89.7% 0.128 99.8);
Tailwind
colors: {
  custom: {
    50: '#f8e8a0',
    500: '#f1df76',
    950: '#000000',
  },
}
SCSS
$custom: #f1df76;
$custom-light: #f8e8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f1df76",
  "rgb": {
    "r": 241,
    "g": 223,
    "b": 118
  },
  "hsl": {
    "h": 51.22,
    "s": 81.457,
    "l": 70.392
  },
  "oklch": {
    "l": 0.89708,
    "c": 0.1276,
    "h": 99.8
  },
  "luminance": 0.72784
}

Semantic roles & 50–950 ramp

primary
#F1DF76
secondary
#4055CB
accent
#27DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F1DF76

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

Preview Lab → · Contrast checker → · Palette generator →

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