#F1DC79#F1DC79

#F1DC79 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 89.1% C 0.122 H 97.6°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#F1DC79
RGBrgb(241, 220, 121)
HSLhsl(50, 81%, 71%)
HSVhsv(50, 50%, 95%)
CMYKcmyk(0%, 8.7%, 49.8%, 5.5%)
CIE-LABlab(87.62, -5.38, 50.86)
CIE-LCHlch(87.62, 51.14, 96.04°)
OKLaboklab(89.14% -0.0162 0.121)
OKLCHoklch(89.14% 0.122 97.6)
XYZxyz(65.3221, 71.2702, 28.4011)
Luminance0.7127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DC79 #798EF1
analogous
#F1A079 #F1DC79 #CAF179
triadic
#F1DC79 #79F1DC #DC79F1
tetradic
#F1DC79 #79F1A0 #798EF1 #F179CA
square
#F1DC79 #79F1A0 #798EF1 #F179CA
split-complementary
#F1DC79 #79CAF1 #A079F1
monochromatic
#D9B717 #EBCE42 #F1DC79 #F7EAB0 #FCF8E3

Accessibility & contrast

On white

1.38
#F1DC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#F1DC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DC79
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DC79#FFFFFF#000000##000000
##F1DC791.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD770
Deuteranopia (green-blind)
#F3DF7D
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f1dc79;
/* rgb */ color: rgb(241, 220, 121);
/* oklch */ color: oklch(89.1% 0.122 97.6);
Tailwind
colors: {
  custom: {
    50: '#f8e6a2',
    500: '#f1dc79',
    950: '#000000',
  },
}
SCSS
$custom: #f1dc79;
$custom-light: #f8e6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f1dc79",
  "rgb": {
    "r": 241,
    "g": 220,
    "b": 121
  },
  "hsl": {
    "h": 49.5,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.89142,
    "c": 0.12204,
    "h": 97.6
  },
  "luminance": 0.71268
}

Semantic roles & 50–950 ramp

primary
#F1DC79
secondary
#435BCB
accent
#2DDD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F1DC79

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

Preview Lab → · Contrast checker → · Palette generator →

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