#F8F575#F8F575

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

Color values

HEX#F8F575
RGBrgb(248, 245, 117)
HSLhsl(59, 90%, 72%)
HSVhsv(59, 53%, 97%)
CMYKcmyk(0%, 1.2%, 52.8%, 2.7%)
CIE-LABlab(94.55, -15.32, 61.03)
CIE-LCHlch(94.55, 62.93, 104.10°)
OKLaboklab(94.77% -0.0456 0.1426)
OKLCHoklch(94.77% 0.15 107.7)
XYZxyz(74.5767, 86.5477, 29.6031)
Luminance0.8655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F575 #7578F8
analogous
#F8B475 #F8F575 #BAF875
triadic
#F8F575 #75F8F5 #F575F8
tetradic
#F8F575 #75F8B4 #7578F8 #F875BA
square
#F8F575 #75F8B4 #7578F8 #F875BA
split-complementary
#F8F575 #75BAF8 #B475F8
monochromatic
#E7E20C #F5F13B #F8F575 #FBF9AF #FEFDE2

Accessibility & contrast

On white

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

On black

18.31
#F8F575 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F575
18.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F575#FFFFFF#000000##000000
##F8F5751.001.1518.3118.31
#FFFFFF1.151.0021.0021.00
#00000018.3121.001.001.00
##00000018.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8f575;
/* rgb */ color: rgb(248, 245, 117);
/* oklch */ color: oklch(94.8% 0.150 107.7);
Tailwind
colors: {
  custom: {
    50: '#fdf8a0',
    500: '#f8f575',
    950: '#000000',
  },
}
SCSS
$custom: #f8f575;
$custom-light: #fdf8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f575",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 117
  },
  "hsl": {
    "h": 58.626,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94767,
    "c": 0.14972,
    "h": 107.7
  },
  "luminance": 0.86546
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F575

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

Preview Lab → · Contrast checker → · Palette generator →

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