#F5F576#F5F576

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

Color values

HEX#F5F576
RGBrgb(245, 245, 118)
HSLhsl(60, 86%, 71%)
HSVhsv(60, 52%, 96%)
CMYKcmyk(0%, 0%, 51.8%, 3.9%)
CIE-LABlab(94.32, -16.43, 60.27)
CIE-LCHlch(94.32, 62.47, 105.25°)
OKLaboklab(94.54% -0.0484 0.1411)
OKLCHoklch(94.54% 0.149 108.9)
XYZxyz(73.5804, 86.0271, 29.8649)
Luminance0.8602 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5F576 #7676F5
analogous
#F5B576 #F5F576 #B5F576
triadic
#F5F576 #76F5F5 #F576F5
tetradic
#F5F576 #76F5B5 #7676F5 #F576B5
square
#F5F576 #76F5B5 #7676F5 #F576B5
split-complementary
#F5F576 #76B5F5 #B576F5
monochromatic
#E0E010 #F1F13D #F5F576 #F9F9AF #FDFDE2

Accessibility & contrast

On white

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

On black

18.20
#F5F576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5F576
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5F576#FFFFFF#000000##000000
##F5F5761.001.1518.2018.20
#FFFFFF1.151.0021.0021.00
#00000018.2021.001.001.00
##00000018.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f5f576;
/* rgb */ color: rgb(245, 245, 118);
/* oklch */ color: oklch(94.5% 0.149 108.9);
Tailwind
colors: {
  custom: {
    50: '#fbf8a1',
    500: '#f5f576',
    950: '#000000',
  },
}
SCSS
$custom: #f5f576;
$custom-light: #fbf8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5f576",
  "rgb": {
    "r": 245,
    "g": 245,
    "b": 118
  },
  "hsl": {
    "h": 60,
    "s": 86.395,
    "l": 71.176
  },
  "oklch": {
    "l": 0.94537,
    "c": 0.14921,
    "h": 108.9
  },
  "luminance": 0.86025
}

Semantic roles & 50–950 ramp

primary
#F5F576
secondary
#3F3FD0
accent
#03E303
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F5F576

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

Preview Lab → · Contrast checker → · Palette generator →

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