#F1DB78#F1DB78

#F1DB78 is a very light, vivid yellow. Relative luminance 0.707; OKLCH L 88.9% C 0.122 H 97.1°. Best body text is #000000 at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#F1DB78
RGBrgb(241, 219, 120)
HSLhsl(49, 81%, 71%)
HSVhsv(49, 50%, 95%)
CMYKcmyk(0%, 9.1%, 50.2%, 5.5%)
CIE-LABlab(87.35, -4.96, 51.02)
CIE-LCHlch(87.35, 51.26, 95.55°)
OKLaboklab(88.93% -0.0151 0.1212)
OKLCHoklch(88.93% 0.122 97.1)
XYZxyz(64.9994, 70.7224, 27.9926)
Luminance0.7072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DB78 #788EF1
analogous
#F19E78 #F1DB78 #CAF178
triadic
#F1DB78 #78F1DB #DB78F1
tetradic
#F1DB78 #78F19E #788EF1 #F178CA
square
#F1DB78 #78F19E #788EF1 #F178CA
split-complementary
#F1DB78 #78CAF1 #9E78F1
monochromatic
#D8B516 #EBCC41 #F1DB78 #F7EAAF #FCF8E3

Accessibility & contrast

On white

1.39
#F1DB78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.14
#F1DB78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F1DB78
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F1DB78#FFFFFF#000000##000000
##F1DB781.001.3915.1415.14
#FFFFFF1.391.0021.0021.00
#00000015.1421.001.001.00
##00000015.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD76F
Deuteranopia (green-blind)
#F2DE7C
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f1db78;
/* rgb */ color: rgb(241, 219, 120);
/* oklch */ color: oklch(88.9% 0.122 97.1);
Tailwind
colors: {
  custom: {
    50: '#f8e5a1',
    500: '#f1db78',
    950: '#000000',
  },
}
SCSS
$custom: #f1db78;
$custom-light: #f8e5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f1db78",
  "rgb": {
    "r": 241,
    "g": 219,
    "b": 120
  },
  "hsl": {
    "h": 49.091,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.88927,
    "c": 0.12216,
    "h": 97.1
  },
  "luminance": 0.7072
}

Semantic roles & 50–950 ramp

primary
#F1DB78
secondary
#425BCB
accent
#2FDE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #F1DB78

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

Preview Lab → · Contrast checker → · Palette generator →

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