#F5F573#F5F573

#F5F573 is a very light, vivid yellow. Relative luminance 0.860; OKLCH L 94.5% C 0.152 H 109.0°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#F5F573
RGBrgb(245, 245, 115)
HSLhsl(60, 87%, 71%)
HSVhsv(60, 53%, 96%)
CMYKcmyk(0%, 0%, 53.1%, 3.9%)
CIE-LABlab(94.29, -16.67, 61.57)
CIE-LCHlch(94.29, 63.79, 105.15°)
OKLaboklab(94.5% -0.0494 0.1436)
OKLCHoklch(94.5% 0.152 109)
XYZxyz(73.4050, 85.9570, 28.9409)
Luminance0.8596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F573 #7373F5
analogous
#F5B473 #F5F573 #B4F573
triadic
#F5F573 #73F5F5 #F573F5
tetradic
#F5F573 #73F5B4 #7373F5 #F573B4
square
#F5F573 #73F5B4 #7373F5 #F573B4
split-complementary
#F5F573 #73B4F5 #B473F5
monochromatic
#DEDE10 #F1F13A #F5F573 #F9F9AC #FDFDE2

Accessibility & contrast

On white

1.15
#F5F573 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.19
#F5F573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F573
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F573#FFFFFF#000000##000000
##F5F5731.001.1518.1918.19
#FFFFFF1.151.0021.0021.00
#00000018.1921.001.001.00
##00000018.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC66
Deuteranopia (green-blind)
#FFF17A
Tritanopia (blue-blind)
#FFE8D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f573;
/* rgb */ color: rgb(245, 245, 115);
/* oklch */ color: oklch(94.5% 0.152 109.0);
Tailwind
colors: {
  custom: {
    50: '#fbf89f',
    500: '#f5f573',
    950: '#000000',
  },
}
SCSS
$custom: #f5f573;
$custom-light: #fbf89f;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f573",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 115
  },
  "hsl": {
    "h": 60,
    "s": 86.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.94503,
    "c": 0.15189,
    "h": 109
  },
  "luminance": 0.85955
}

Semantic roles & 50–950 ramp

primary
#F5F573
secondary
#3D3DCF
accent
#02E302
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F573

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

Preview Lab → · Contrast checker → · Palette generator →

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