#F1DF78#F1DF78

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

Color values

HEX#F1DF78
RGBrgb(241, 223, 120)
HSLhsl(51, 81%, 71%)
HSVhsv(51, 50%, 95%)
CMYKcmyk(0%, 7.5%, 50.2%, 5.5%)
CIE-LABlab(88.37, -6.98, 52.24)
CIE-LCHlch(88.37, 52.71, 97.61°)
OKLaboklab(89.73% -0.0209 0.1239)
OKLCHoklch(89.73% 0.126 99.6)
XYZxyz(66.0555, 72.8346, 28.3446)
Luminance0.7283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F1DF78 #788AF1
analogous
#F1A278 #F1DF78 #C7F178
triadic
#F1DF78 #78F1DF #DF78F1
tetradic
#F1DF78 #78F1A2 #788AF1 #F178C7
square
#F1DF78 #78F1A2 #788AF1 #F178C7
split-complementary
#F1DF78 #78C7F1 #A278F1
monochromatic
#D8BB16 #EBD241 #F1DF78 #F7ECAF #FCF8E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F1DF78#FFFFFF#000000##000000
##F1DF781.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)
#F0DA6F
Deuteranopia (green-blind)
#F5E17C
Tritanopia (blue-blind)
#FFD2C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f1df78;
/* rgb */ color: rgb(241, 223, 120);
/* oklch */ color: oklch(89.7% 0.126 99.6);
Tailwind
colors: {
  custom: {
    50: '#f8e8a1',
    500: '#f1df78',
    950: '#000000',
  },
}
SCSS
$custom: #f1df78;
$custom-light: #f8e8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f1df78",
  "rgb": {
    "r": 241,
    "g": 223,
    "b": 120
  },
  "hsl": {
    "h": 51.074,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.89734,
    "c": 0.12567,
    "h": 99.6
  },
  "luminance": 0.72832
}

Semantic roles & 50–950 ramp

primary
#F1DF78
secondary
#4257CB
accent
#28DE08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #F1DF78

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

Preview Lab → · Contrast checker → · Palette generator →

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