#F5E578#F5E578

#F5E578 is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.3% C 0.131 H 101.1°. Best body text is #000000 at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#F5E578
RGBrgb(245, 229, 120)
HSLhsl(52, 86%, 72%)
HSVhsv(52, 51%, 96%)
CMYKcmyk(0%, 6.5%, 51%, 3.9%)
CIE-LABlab(90.23, -8.38, 54.55)
CIE-LCHlch(90.23, 55.19, 98.74°)
OKLaboklab(91.29% -0.0252 0.1289)
OKLCHoklch(91.29% 0.131 101.1)
XYZxyz(69.0678, 76.8096, 28.9532)
Luminance0.7681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F5E578 #7888F5
analogous
#F5A778 #F5E578 #C7F578
triadic
#F5E578 #78F5E5 #E578F5
tetradic
#F5E578 #78F5A7 #7888F5 #F578C7
square
#F5E578 #78F5A7 #7888F5 #F578C7
split-complementary
#F5E578 #78C7F5 #A778F5
monochromatic
#E2C711 #F1DA3F #F5E578 #F9F0B1 #FDFAE3

Accessibility & contrast

On white

1.28
#F5E578 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.36
#F5E578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F5E578
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F5E578#FFFFFF#000000##000000
##F5E5781.001.2816.3616.36
#FFFFFF1.281.0021.0021.00
#00000016.3621.001.001.00
##00000016.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6E
Deuteranopia (green-blind)
#FBE67D
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f5e578;
/* rgb */ color: rgb(245, 229, 120);
/* oklch */ color: oklch(91.3% 0.131 101.1);
Tailwind
colors: {
  custom: {
    50: '#fbeda1',
    500: '#f5e578',
    950: '#000000',
  },
}
SCSS
$custom: #f5e578;
$custom-light: #fbeda1;
$custom-dark: #000000;
JSON
{
  "hex": "#f5e578",
  "rgb": {
    "r": 245,
    "g": 229,
    "b": 120
  },
  "hsl": {
    "h": 52.32,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91292,
    "c": 0.13134,
    "h": 101.1
  },
  "luminance": 0.76807
}

Semantic roles & 50–950 ramp

primary
#F5E578
secondary
#4153D0
accent
#1FE303
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F5E578

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

Preview Lab → · Contrast checker → · Palette generator →

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