#F5DE78#F5DE78

#F5DE78 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.9% C 0.125 H 96.9°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#F5DE78
RGBrgb(245, 222, 120)
HSLhsl(49, 86%, 72%)
HSVhsv(49, 51%, 96%)
CMYKcmyk(0%, 9.4%, 51%, 3.9%)
CIE-LABlab(88.45, -4.87, 52.43)
CIE-LCHlch(88.45, 52.65, 95.31°)
OKLaboklab(89.88% -0.0151 0.1243)
OKLCHoklch(89.88% 0.125 96.9)
XYZxyz(67.1699, 73.0138, 28.3206)
Luminance0.7301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5DE78 #788FF5
analogous
#F5A078 #F5DE78 #CEF578
triadic
#F5DE78 #78F5DE #DE78F5
tetradic
#F5DE78 #78F5A0 #788FF5 #F578CE
square
#F5DE78 #78F5A0 #788FF5 #F578CE
split-complementary
#F5DE78 #78CEF5 #A078F5
monochromatic
#E2BB11 #F1D03F #F5DE78 #F9ECB1 #FDF8E3

Accessibility & contrast

On white

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

On black

15.60
#F5DE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5DE78
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5DE78#FFFFFF#000000##000000
##F5DE781.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0DA6F
Deuteranopia (green-blind)
#F6E17C
Tritanopia (blue-blind)
#FFD1C6
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #f5de78;
/* rgb */ color: rgb(245, 222, 120);
/* oklch */ color: oklch(89.9% 0.125 96.9);
Tailwind
colors: {
  custom: {
    50: '#fbe8a1',
    500: '#f5de78',
    950: '#000000',
  },
}
SCSS
$custom: #f5de78;
$custom-light: #fbe8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5de78",
  "rgb": {
    "r": 245,
    "g": 222,
    "b": 120
  },
  "hsl": {
    "h": 48.96,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89882,
    "c": 0.12516,
    "h": 96.9
  },
  "luminance": 0.73011
}

Semantic roles & 50–950 ramp

primary
#F5DE78
secondary
#415BD0
accent
#2CE303
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5DE78

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

Preview Lab → · Contrast checker → · Palette generator →

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