#F1DC78#F1DC78

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

Color values

HEX#F1DC78
RGBrgb(241, 220, 120)
HSLhsl(50, 81%, 71%)
HSVhsv(50, 50%, 95%)
CMYKcmyk(0%, 8.7%, 50.2%, 5.5%)
CIE-LABlab(87.60, -5.47, 51.32)
CIE-LCHlch(87.60, 51.61, 96.08°)
OKLaboklab(89.13% -0.0166 0.1219)
OKLCHoklch(89.13% 0.123 97.7)
XYZxyz(65.2611, 71.2458, 28.0798)
Luminance0.7124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DC78 #788DF1
analogous
#F19F78 #F1DC78 #C9F178
triadic
#F1DC78 #78F1DC #DC78F1
tetradic
#F1DC78 #78F19F #788DF1 #F178C9
square
#F1DC78 #78F19F #788DF1 #F178C9
split-complementary
#F1DC78 #78C9F1 #9F78F1
monochromatic
#D8B716 #EBCE41 #F1DC78 #F7EAAF #FCF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1DC78#FFFFFF#000000##000000
##F1DC781.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)
#EDD76F
Deuteranopia (green-blind)
#F3DF7C
Tritanopia (blue-blind)
#FFCFC5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #f1dc78;
/* rgb */ color: rgb(241, 220, 120);
/* oklch */ color: oklch(89.1% 0.123 97.7);
Tailwind
colors: {
  custom: {
    50: '#f8e6a1',
    500: '#f1dc78',
    950: '#000000',
  },
}
SCSS
$custom: #f1dc78;
$custom-light: #f8e6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f1dc78",
  "rgb": {
    "r": 241,
    "g": 220,
    "b": 120
  },
  "hsl": {
    "h": 49.587,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89128,
    "c": 0.12301,
    "h": 97.7
  },
  "luminance": 0.71243
}

Semantic roles & 50–950 ramp

primary
#F1DC78
secondary
#425ACB
accent
#2DDE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F1DC78

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

Preview Lab → · Contrast checker → · Palette generator →

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