#F5F577#F5F577

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

Color values

HEX#F5F577
RGBrgb(245, 245, 119)
HSLhsl(60, 86%, 71%)
HSVhsv(60, 51%, 96%)
CMYKcmyk(0%, 0%, 51.4%, 3.9%)
CIE-LABlab(94.33, -16.35, 59.83)
CIE-LCHlch(94.33, 62.02, 105.28°)
OKLaboklab(94.55% -0.0481 0.1403)
OKLCHoklch(94.55% 0.148 108.9)
XYZxyz(73.6402, 86.0510, 30.1795)
Luminance0.8605 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F577 #7777F5
analogous
#F5B677 #F5F577 #B6F577
triadic
#F5F577 #77F5F5 #F577F5
tetradic
#F5F577 #77F5B6 #7777F5 #F577B6
square
#F5F577 #77F5B6 #7777F5 #F577B6
split-complementary
#F5F577 #77B6F5 #B677F5
monochromatic
#E1E111 #F1F13E #F5F577 #F9F9B0 #FDFDE2

Accessibility & contrast

On white

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

On black

18.21
#F5F577 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F577
18.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F577#FFFFFF#000000##000000
##F5F5771.001.1518.2118.21
#FFFFFF1.151.0021.0021.00
#00000018.2121.001.001.00
##00000018.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFF17E
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f5f577;
/* rgb */ color: rgb(245, 245, 119);
/* oklch */ color: oklch(94.5% 0.148 108.9);
Tailwind
colors: {
  custom: {
    50: '#fbf8a1',
    500: '#f5f577',
    950: '#000000',
  },
}
SCSS
$custom: #f5f577;
$custom-light: #fbf8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f577",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 119
  },
  "hsl": {
    "h": 60,
    "s": 86.301,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94548,
    "c": 0.1483,
    "h": 108.9
  },
  "luminance": 0.86049
}

Semantic roles & 50–950 ramp

primary
#F5F577
secondary
#4040D0
accent
#03E303
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F577

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

Preview Lab → · Contrast checker → · Palette generator →

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