#F5FA78#F5FA78

#F5FA78 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.6% C 0.153 H 111.0°. Best body text is #000000 at 18.83:1 contrast (WCAG AA passes).

Color values

HEX#F5FA78
RGBrgb(245, 250, 120)
HSLhsl(62, 93%, 73%)
HSVhsv(62, 52%, 98%)
CMYKcmyk(2%, 0%, 52%, 2%)
CIE-LABlab(95.64, -18.69, 60.90)
CIE-LCHlch(95.64, 63.70, 107.06°)
OKLaboklab(95.59% -0.0547 0.1427)
OKLCHoklch(95.59% 0.153 111)
XYZxyz(75.2337, 89.1414, 31.0085)
Luminance0.8914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5FA78 #7D78FA
analogous
#FABE78 #F5FA78 #B4FA78
triadic
#F5FA78 #78F5FA #FA78F5
tetradic
#F5FA78 #78FABE #7D78FA #FA78B4
square
#F5FA78 #78FABE #7D78FA #FA78B4
split-complementary
#F5FA78 #78B4FA #BE78FA
monochromatic
#E6EF09 #F1F83D #F5FA78 #F9FCB3 #FDFEE1

Accessibility & contrast

On white

1.12
#F5FA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.83
#F5FA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5FA78
18.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5FA78#FFFFFF#000000##000000
##F5FA781.001.1218.8318.83
#FFFFFF1.121.0021.0021.00
#00000018.8321.001.001.00
##00000018.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06B
Deuteranopia (green-blind)
#FFF47F
Tritanopia (blue-blind)
#FFEDDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f5fa78;
/* rgb */ color: rgb(245, 250, 120);
/* oklch */ color: oklch(95.6% 0.153 111.0);
Tailwind
colors: {
  custom: {
    50: '#fbfba2',
    500: '#f5fa78',
    950: '#000000',
  },
}
SCSS
$custom: #f5fa78;
$custom-light: #fbfba2;
$custom-dark: #000000;
JSON
{
  "hex": "#f5fa78",
  "rgb": {
    "r": 245,
    "g": 250,
    "b": 120
  },
  "hsl": {
    "h": 62.308,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95593,
    "c": 0.15279,
    "h": 111
  },
  "luminance": 0.8914
}

Semantic roles & 50–950 ramp

primary
#F5FA78
secondary
#4640D6
accent
#00E609
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5FA78

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

Preview Lab → · Contrast checker → · Palette generator →

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