#F8D975#F8D975

#F8D975 is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 89.1% C 0.125 H 92.5°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#F8D975
RGBrgb(248, 217, 117)
HSLhsl(46, 90%, 72%)
HSVhsv(46, 53%, 97%)
CMYKcmyk(0%, 12.5%, 52.8%, 2.7%)
CIE-LABlab(87.42, -1.38, 52.68)
CIE-LCHlch(87.42, 52.70, 91.50°)
OKLaboklab(89.12% -0.0055 0.1245)
OKLCHoklch(89.12% 0.125 92.5)
XYZxyz(66.7377, 70.8696, 26.9901)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8D975 #7594F8
analogous
#F89875 #F8D975 #D5F875
triadic
#F8D975 #75F8D9 #D975F8
tetradic
#F8D975 #75F898 #7594F8 #F875D5
square
#F8D975 #75F898 #7594F8 #F875D5
split-complementary
#F8D975 #75D5F8 #9875F8
monochromatic
#E7B30C #F5C93B #F8D975 #FBE9AF #FEF7E2

Accessibility & contrast

On white

1.38
#F8D975 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#F8D975 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8D975
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8D975#FFFFFF#000000##000000
##F8D9751.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66C
Deuteranopia (green-blind)
#F4DF79
Tritanopia (blue-blind)
#FFCBC2
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #f8d975;
/* rgb */ color: rgb(248, 217, 117);
/* oklch */ color: oklch(89.1% 0.125 92.5);
Tailwind
colors: {
  custom: {
    50: '#fde49f',
    500: '#f8d975',
    950: '#000000',
  },
}
SCSS
$custom: #f8d975;
$custom-light: #fde49f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8d975",
  "rgb": {
    "r": 248,
    "g": 217,
    "b": 117
  },
  "hsl": {
    "h": 45.802,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89117,
    "c": 0.12461,
    "h": 92.5
  },
  "luminance": 0.70867
}

Semantic roles & 50–950 ramp

primary
#F8D975
secondary
#3E61D3
accent
#36E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8D975

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

Preview Lab → · Contrast checker → · Palette generator →

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