#F5F773#F5F773

#F5F773 is a very light, vivid yellow. Relative luminance 0.872; OKLCH L 94.9% C 0.154 H 109.8°. Best body text is #000000 at 18.43:1 contrast (WCAG AA passes).

Color values

HEX#F5F773
RGBrgb(245, 247, 115)
HSLhsl(61, 89%, 71%)
HSVhsv(61, 53%, 97%)
CMYKcmyk(0.8%, 0%, 53.4%, 3.1%)
CIE-LABlab(94.81, -17.63, 62.16)
CIE-LCHlch(94.81, 64.62, 105.84°)
OKLaboklab(94.92% -0.0522 0.1449)
OKLCHoklch(94.92% 0.154 109.8)
XYZxyz(74.0133, 87.1736, 29.1437)
Luminance0.8717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F773 #7573F7
analogous
#F7B773 #F5F773 #B3F773
triadic
#F5F773 #73F5F7 #F773F5
tetradic
#F5F773 #73F7B7 #7573F7 #F773B3
square
#F5F773 #73F7B7 #7573F7 #F773B3
split-complementary
#F5F773 #73B3F7 #B773F7
monochromatic
#DFE30D #F1F439 #F5F773 #F9FAAD #FDFDE2

Accessibility & contrast

On white

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

On black

18.43
#F5F773 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F773
18.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F773#FFFFFF#000000##000000
##F5F7731.001.1418.4318.43
#FFFFFF1.141.0021.0021.00
#00000018.4321.001.001.00
##00000018.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f773;
/* rgb */ color: rgb(245, 247, 115);
/* oklch */ color: oklch(94.9% 0.154 109.8);
Tailwind
colors: {
  custom: {
    50: '#fbf99f',
    500: '#f5f773',
    950: '#000000',
  },
}
SCSS
$custom: #f5f773;
$custom-light: #fbf99f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f773",
  "rgb": {
    "r": 245,
    "g": 247,
    "b": 115
  },
  "hsl": {
    "h": 60.909,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94916,
    "c": 0.15401,
    "h": 109.8
  },
  "luminance": 0.87172
}

Semantic roles & 50–950 ramp

primary
#F5F773
secondary
#3F3CD2
accent
#00E603
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F773

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

Preview Lab → · Contrast checker → · Palette generator →

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