#F5F778#F5F778

#F5F778 is a very light, vivid yellow. Relative luminance 0.873; OKLCH L 95.0% C 0.150 H 109.8°. Best body text is #000000 at 18.46:1 contrast (WCAG AA passes).

Color values

HEX#F5F778
RGBrgb(245, 247, 120)
HSLhsl(61, 89%, 72%)
HSVhsv(61, 51%, 97%)
CMYKcmyk(0.8%, 0%, 51.4%, 3.1%)
CIE-LABlab(94.86, -17.24, 59.99)
CIE-LCHlch(94.86, 62.42, 106.03°)
OKLaboklab(94.97% -0.0505 0.1407)
OKLCHoklch(94.97% 0.15 109.8)
XYZxyz(74.3089, 87.2918, 30.7002)
Luminance0.8729 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F778 #7A78F7
analogous
#F7BA78 #F5F778 #B6F778
triadic
#F5F778 #78F5F7 #F778F5
tetradic
#F5F778 #78F7BA #7A78F7 #F778B6
square
#F5F778 #78F7BA #7A78F7 #F778B6
split-complementary
#F5F778 #78B6F7 #BA78F7
monochromatic
#E3E70E #F1F43E #F5F778 #F9FAB2 #FDFDE2

Accessibility & contrast

On white

1.14
#F5F778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.46
#F5F778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F778
18.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F778#FFFFFF#000000##000000
##F5F7781.001.1418.4618.46
#FFFFFF1.141.0021.0021.00
#00000018.4621.001.001.00
##00000018.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6C
Deuteranopia (green-blind)
#FFF27F
Tritanopia (blue-blind)
#FFEADA
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f5f778;
/* rgb */ color: rgb(245, 247, 120);
/* oklch */ color: oklch(95.0% 0.150 109.8);
Tailwind
colors: {
  custom: {
    50: '#fbf9a2',
    500: '#f5f778',
    950: '#000000',
  },
}
SCSS
$custom: #f5f778;
$custom-light: #fbf9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f778",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 60.945,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94972,
    "c": 0.14953,
    "h": 109.8
  },
  "luminance": 0.8729
}

Semantic roles & 50–950 ramp

primary
#F5F778
secondary
#4341D3
accent
#00E504
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F778

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

Preview Lab → · Contrast checker → · Palette generator →

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