#F5E778#F5E778

#F5E778 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.7% C 0.133 H 102.2°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#F5E778
RGBrgb(245, 231, 120)
HSLhsl(53, 86%, 72%)
HSVhsv(53, 51%, 96%)
CMYKcmyk(0%, 5.7%, 51%, 3.9%)
CIE-LABlab(90.74, -9.38, 55.16)
CIE-LCHlch(90.74, 55.95, 99.65°)
OKLaboklab(91.7% -0.0281 0.1302)
OKLCHoklch(91.7% 0.133 102.2)
XYZxyz(69.6243, 77.9227, 29.1387)
Luminance0.7792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E778 #7886F5
analogous
#F5A978 #F5E778 #C5F578
triadic
#F5E778 #78F5E7 #E778F5
tetradic
#F5E778 #78F5A9 #7886F5 #F578C5
square
#F5E778 #78F5A9 #7886F5 #F578C5
split-complementary
#F5E778 #78C5F5 #A978F5
monochromatic
#E2CA11 #F1DD3F #F5E778 #F9F1B1 #FDFAE3

Accessibility & contrast

On white

1.27
#F5E778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#F5E778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E778
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E778#FFFFFF#000000##000000
##F5E7781.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E16E
Deuteranopia (green-blind)
#FDE77D
Tritanopia (blue-blind)
#FFDACE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f5e778;
/* rgb */ color: rgb(245, 231, 120);
/* oklch */ color: oklch(91.7% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#fbeea1',
    500: '#f5e778',
    950: '#000000',
  },
}
SCSS
$custom: #f5e778;
$custom-light: #fbeea1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e778",
  "rgb": {
    "r": 245,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 53.28,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91697,
    "c": 0.13322,
    "h": 102.2
  },
  "luminance": 0.7792
}

Semantic roles & 50–950 ramp

primary
#F5E778
secondary
#4151D0
accent
#1CE303
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E778

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

Preview Lab → · Contrast checker → · Palette generator →

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