#F8F576#F8F576

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

Color values

HEX#F8F576
RGBrgb(248, 245, 118)
HSLhsl(59, 90%, 72%)
HSVhsv(59, 52%, 97%)
CMYKcmyk(0%, 1.2%, 52.4%, 2.7%)
CIE-LABlab(94.56, -15.25, 60.60)
CIE-LCHlch(94.56, 62.48, 104.12°)
OKLaboklab(94.78% -0.0452 0.1418)
OKLCHoklch(94.78% 0.149 107.7)
XYZxyz(74.6358, 86.5713, 29.9144)
Luminance0.8657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F576 #7679F8
analogous
#F8B476 #F8F576 #BAF876
triadic
#F8F576 #76F8F5 #F576F8
tetradic
#F8F576 #76F8B4 #7679F8 #F876BA
square
#F8F576 #76F8B4 #7679F8 #F876BA
split-complementary
#F8F576 #76BAF8 #B476F8
monochromatic
#E8E30C #F5F13C #F8F576 #FBF9B0 #FEFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8F576#FFFFFF#000000##000000
##F8F5761.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)
#FFED6A
Deuteranopia (green-blind)
#FFF27D
Tritanopia (blue-blind)
#FFE8D9
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f576;
/* rgb */ color: rgb(248, 245, 118);
/* oklch */ color: oklch(94.8% 0.149 107.7);
Tailwind
colors: {
  custom: {
    50: '#fdf8a1',
    500: '#f8f576',
    950: '#000000',
  },
}
SCSS
$custom: #f8f576;
$custom-light: #fdf8a1;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f576",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 118
  },
  "hsl": {
    "h": 58.615,
    "s": 90.278,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94778,
    "c": 0.14883,
    "h": 107.7
  },
  "luminance": 0.86569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F8F576

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

Preview Lab → · Contrast checker → · Palette generator →

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