#F7F578#F7F578

#F7F578 is a very light, vivid yellow. Relative luminance 0.864; OKLCH L 94.7% C 0.147 H 108.1°. Best body text is #000000 at 18.29:1 contrast (WCAG AA passes).

Color values

HEX#F7F578
RGBrgb(247, 245, 120)
HSLhsl(59, 89%, 72%)
HSVhsv(59, 51%, 97%)
CMYKcmyk(0%, 0.8%, 51.4%, 3.1%)
CIE-LABlab(94.50, -15.48, 59.61)
CIE-LCHlch(94.50, 61.59, 104.56°)
OKLaboklab(94.72% -0.0457 0.1399)
OKLCHoklch(94.72% 0.147 108.1)
XYZxyz(74.4022, 86.4370, 30.5304)
Luminance0.8643 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7F578 #787AF7
analogous
#F7B678 #F7F578 #BAF778
triadic
#F7F578 #78F7F5 #F578F7
tetradic
#F7F578 #78F7B6 #787AF7 #F778BA
square
#F7F578 #78F7B6 #787AF7 #F778BA
split-complementary
#F7F578 #78BAF7 #B678F7
monochromatic
#E7E30E #F4F13E #F7F578 #FAF9B2 #FDFDE2

Accessibility & contrast

On white

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

On black

18.29
#F7F578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7F578
18.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7F578#FFFFFF#000000##000000
##F7F5781.001.1518.2918.29
#FFFFFF1.151.0021.0021.00
#00000018.2921.001.001.00
##00000018.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7f578;
/* rgb */ color: rgb(247, 245, 120);
/* oklch */ color: oklch(94.7% 0.147 108.1);
Tailwind
colors: {
  custom: {
    50: '#fcf8a2',
    500: '#f7f578',
    950: '#000000',
  },
}
SCSS
$custom: #f7f578;
$custom-light: #fcf8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f7f578",
  "rgb": {
    "r": 247,
    "g": 245,
    "b": 120
  },
  "hsl": {
    "h": 59.055,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.94721,
    "c": 0.14713,
    "h": 108.1
  },
  "luminance": 0.86435
}

Semantic roles & 50–950 ramp

primary
#F7F578
secondary
#4143D3
accent
#04E500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F7F578

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

Preview Lab → · Contrast checker → · Palette generator →

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