#F1D978#F1D978

#F1D978 is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.5% C 0.120 H 95.8°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#F1D978
RGBrgb(241, 217, 120)
HSLhsl(48, 81%, 71%)
HSVhsv(48, 50%, 95%)
CMYKcmyk(0%, 10%, 50.2%, 5.5%)
CIE-LABlab(86.84, -3.95, 50.40)
CIE-LCHlch(86.84, 50.56, 94.48°)
OKLaboklab(88.53% -0.0122 0.1199)
OKLCHoklch(88.53% 0.12 95.8)
XYZxyz(64.4808, 69.6852, 27.8197)
Luminance0.6968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1D978 #7890F1
analogous
#F19C78 #F1D978 #CCF178
triadic
#F1D978 #78F1D9 #D978F1
tetradic
#F1D978 #78F19C #7890F1 #F178CC
square
#F1D978 #78F19C #7890F1 #F178CC
split-complementary
#F1D978 #78CCF1 #9C78F1
monochromatic
#D8B216 #EBC941 #F1D978 #F7E9AF #FCF7E3

Accessibility & contrast

On white

1.41
#F1D978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#F1D978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1D978
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1D978#FFFFFF#000000##000000
##F1D9781.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD570
Deuteranopia (green-blind)
#F1DD7C
Tritanopia (blue-blind)
#FFCCC2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #f1d978;
/* rgb */ color: rgb(241, 217, 120);
/* oklch */ color: oklch(88.5% 0.120 95.8);
Tailwind
colors: {
  custom: {
    50: '#f8e4a1',
    500: '#f1d978',
    950: '#000000',
  },
}
SCSS
$custom: #f1d978;
$custom-light: #f8e4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f1d978",
  "rgb": {
    "r": 241,
    "g": 217,
    "b": 120
  },
  "hsl": {
    "h": 48.099,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88525,
    "c": 0.12049,
    "h": 95.8
  },
  "luminance": 0.69683
}

Semantic roles & 50–950 ramp

primary
#F1D978
secondary
#425DCB
accent
#32DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F1D978

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

Preview Lab → · Contrast checker → · Palette generator →

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