#F8F775#F8F775

#F8F775 is a very light, vivid yellow. Relative luminance 0.878; OKLCH L 95.2% C 0.152 H 108.6°. Best body text is #000000 at 18.55:1 contrast (WCAG AA passes).

Color values

HEX#F8F775
RGBrgb(248, 247, 117)
HSLhsl(60, 90%, 72%)
HSVhsv(60, 53%, 97%)
CMYKcmyk(0%, 0.4%, 52.8%, 2.7%)
CIE-LABlab(95.06, -16.30, 61.63)
CIE-LCHlch(95.06, 63.74, 104.81°)
OKLaboklab(95.18% -0.0483 0.1439)
OKLCHoklch(95.18% 0.152 108.6)
XYZxyz(75.1850, 87.7643, 29.8058)
Luminance0.8776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F775 #7576F8
analogous
#F8B675 #F8F775 #B8F875
triadic
#F8F775 #75F8F7 #F775F8
tetradic
#F8F775 #75F8B6 #7576F8 #F875B8
square
#F8F775 #75F8B6 #7576F8 #F875B8
split-complementary
#F8F775 #75B8F8 #B675F8
monochromatic
#E7E50C #F5F43B #F8F775 #FBFAAF #FEFDE2

Accessibility & contrast

On white

1.13
#F8F775 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.55
#F8F775 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F775
18.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F775#FFFFFF#000000##000000
##F8F7751.001.1318.5518.55
#FFFFFF1.131.0021.0021.00
#00000018.5521.001.001.00
##00000018.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE68
Deuteranopia (green-blind)
#FFF37C
Tritanopia (blue-blind)
#FFE9DA
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #f8f775;
/* rgb */ color: rgb(248, 247, 117);
/* oklch */ color: oklch(95.2% 0.152 108.6);
Tailwind
colors: {
  custom: {
    50: '#fdf9a0',
    500: '#f8f775',
    950: '#000000',
  },
}
SCSS
$custom: #f8f775;
$custom-light: #fdf9a0;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f775",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 117
  },
  "hsl": {
    "h": 59.542,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.95178,
    "c": 0.1518,
    "h": 108.6
  },
  "luminance": 0.87762
}

Semantic roles & 50–950 ramp

primary
#F8F775
secondary
#3E3FD3
accent
#02E600
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F775

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

Preview Lab → · Contrast checker → · Palette generator →

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