#F8E573#F8E573

#F8E573 is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.5% C 0.136 H 100.0°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#F8E573
RGBrgb(248, 229, 115)
HSLhsl(51, 90%, 71%)
HSVhsv(51, 54%, 97%)
CMYKcmyk(0%, 7.7%, 53.6%, 2.7%)
CIE-LABlab(90.43, -7.59, 57.16)
CIE-LCHlch(90.43, 57.66, 97.56°)
OKLaboklab(91.49% -0.0236 0.1341)
OKLCHoklch(91.49% 0.136 100)
XYZxyz(69.8276, 77.2356, 27.4461)
Luminance0.7723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E573 #7386F8
analogous
#F8A273 #F8E573 #C8F873
triadic
#F8E573 #73F8E5 #E573F8
tetradic
#F8E573 #73F8A2 #7386F8 #F873C8
square
#F8E573 #73F8A2 #7386F8 #F873C8
split-complementary
#F8E573 #73C8F8 #A273F8
monochromatic
#E5C60B #F5DA39 #F8E573 #FBF0AD #FEFAE2

Accessibility & contrast

On white

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

On black

16.45
#F8E573 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E573
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E573#FFFFFF#000000##000000
##F8E5731.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DF68
Deuteranopia (green-blind)
#FDE778
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f8e573;
/* rgb */ color: rgb(248, 229, 115);
/* oklch */ color: oklch(91.5% 0.136 100.0);
Tailwind
colors: {
  custom: {
    50: '#fded9e',
    500: '#f8e573',
    950: '#000000',
  },
}
SCSS
$custom: #f8e573;
$custom-light: #fded9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e573",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 115
  },
  "hsl": {
    "h": 51.429,
    "s": 90.476,
    "l": 71.176
  },
  "oklch": {
    "l": 0.9149,
    "c": 0.13612,
    "h": 100
  },
  "luminance": 0.77233
}

Semantic roles & 50–950 ramp

primary
#F8E573
secondary
#3C52D3
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F8E573

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

Preview Lab → · Contrast checker → · Palette generator →

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