#F1DF79#F1DF79

#F1DF79 is a very light, vivid yellow. Relative luminance 0.729; OKLCH L 89.7% C 0.125 H 99.5°. Best body text is #000000 at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#F1DF79
RGBrgb(241, 223, 121)
HSLhsl(51, 81%, 71%)
HSVhsv(51, 50%, 95%)
CMYKcmyk(0%, 7.5%, 49.8%, 5.5%)
CIE-LABlab(88.38, -6.89, 51.78)
CIE-LCHlch(88.38, 52.24, 97.58°)
OKLaboklab(89.75% -0.0206 0.123)
OKLCHoklch(89.75% 0.125 99.5)
XYZxyz(66.1165, 72.8590, 28.6659)
Luminance0.7286 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DF79 #798BF1
analogous
#F1A379 #F1DF79 #C7F179
triadic
#F1DF79 #79F1DF #DF79F1
tetradic
#F1DF79 #79F1A3 #798BF1 #F179C7
square
#F1DF79 #79F1A3 #798BF1 #F179C7
split-complementary
#F1DF79 #79C7F1 #A379F1
monochromatic
#D9BC17 #EBD242 #F1DF79 #F7ECB0 #FCF8E3

Accessibility & contrast

On white

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

On black

15.57
#F1DF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DF79
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DF79#FFFFFF#000000##000000
##F1DF791.001.3515.5715.57
#FFFFFF1.351.0021.0021.00
#00000015.5721.001.001.00
##00000015.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f1df79;
/* rgb */ color: rgb(241, 223, 121);
/* oklch */ color: oklch(89.7% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#f8e8a2',
    500: '#f1df79',
    950: '#000000',
  },
}
SCSS
$custom: #f1df79;
$custom-light: #f8e8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f1df79",
  "rgb": {
    "r": 241,
    "g": 223,
    "b": 121
  },
  "hsl": {
    "h": 51,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89747,
    "c": 0.12469,
    "h": 99.5
  },
  "luminance": 0.72857
}

Semantic roles & 50–950 ramp

primary
#F1DF79
secondary
#4357CB
accent
#28DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F1DF79

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

Preview Lab → · Contrast checker → · Palette generator →

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