#F8F574#F8F574

#F8F574 is a very light, vivid yellow. Relative luminance 0.865; OKLCH L 94.8% C 0.151 H 107.7°. Best body text is #000000 at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#F8F574
RGBrgb(248, 245, 116)
HSLhsl(59, 90%, 71%)
HSVhsv(59, 53%, 97%)
CMYKcmyk(0%, 1.2%, 53.2%, 2.7%)
CIE-LABlab(94.54, -15.40, 61.46)
CIE-LCHlch(94.54, 63.37, 104.07°)
OKLaboklab(94.76% -0.0459 0.1435)
OKLCHoklch(94.76% 0.151 107.7)
XYZxyz(74.5182, 86.5243, 29.2951)
Luminance0.8652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F574 #7477F8
analogous
#F8B374 #F8F574 #B9F874
triadic
#F8F574 #74F8F5 #F574F8
tetradic
#F8F574 #74F8B3 #7477F8 #F874B9
square
#F8F574 #74F8B3 #7477F8 #F874B9
split-complementary
#F8F574 #74B9F8 #B374F8
monochromatic
#E6E10C #F5F13A #F8F574 #FBF9AE #FEFDE2

Accessibility & contrast

On white

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

On black

18.30
#F8F574 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F574
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F574#FFFFFF#000000##000000
##F8F5741.001.1518.3018.30
#FFFFFF1.151.0021.0021.00
#00000018.3021.001.001.00
##00000018.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC67
Deuteranopia (green-blind)
#FFF27B
Tritanopia (blue-blind)
#FFE7D8
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f574;
/* rgb */ color: rgb(248, 245, 116);
/* oklch */ color: oklch(94.8% 0.151 107.7);
Tailwind
colors: {
  custom: {
    50: '#fdf8a0',
    500: '#f8f574',
    950: '#000000',
  },
}
SCSS
$custom: #f8f574;
$custom-light: #fdf8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f574",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 116
  },
  "hsl": {
    "h": 58.636,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.94756,
    "c": 0.15062,
    "h": 107.7
  },
  "luminance": 0.86522
}

Semantic roles & 50–950 ramp

primary
#F8F574
secondary
#3D40D3
accent
#05E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F574

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

Preview Lab → · Contrast checker → · Palette generator →

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