#F8DC75#F8DC75

#F8DC75 is a very light, vivid yellow. Relative luminance 0.724; OKLCH L 89.7% C 0.127 H 94.5°. Best body text is #000000 at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#F8DC75
RGBrgb(248, 220, 117)
HSLhsl(47, 90%, 72%)
HSVhsv(47, 53%, 97%)
CMYKcmyk(0%, 11.3%, 52.8%, 2.7%)
CIE-LABlab(88.18, -2.90, 53.58)
CIE-LCHlch(88.18, 53.65, 93.10°)
OKLaboklab(89.71% -0.0099 0.1265)
OKLCHoklch(89.71% 0.127 94.5)
XYZxyz(67.5180, 72.4302, 27.2501)
Luminance0.7243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8DC75 #7591F8
analogous
#F89B75 #F8DC75 #D2F875
triadic
#F8DC75 #75F8DC #DC75F8
tetradic
#F8DC75 #75F89B #7591F8 #F875D2
square
#F8DC75 #75F89B #7591F8 #F875D2
split-complementary
#F8DC75 #75D2F8 #9B75F8
monochromatic
#E7B80C #F5CD3B #F8DC75 #FBEBAF #FEF8E2

Accessibility & contrast

On white

1.36
#F8DC75 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.49
#F8DC75 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8DC75
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8DC75#FFFFFF#000000##000000
##F8DC751.001.3615.4915.49
#FFFFFF1.361.0021.0021.00
#00000015.4921.001.001.00
##00000015.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD86C
Deuteranopia (green-blind)
#F6E179
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #f8dc75;
/* rgb */ color: rgb(248, 220, 117);
/* oklch */ color: oklch(89.7% 0.127 94.5);
Tailwind
colors: {
  custom: {
    50: '#fde69f',
    500: '#f8dc75',
    950: '#000000',
  },
}
SCSS
$custom: #f8dc75;
$custom-light: #fde69f;
$custom-dark: #000000;
JSON
{
  "hex": "#f8dc75",
  "rgb": {
    "r": 248,
    "g": 220,
    "b": 117
  },
  "hsl": {
    "h": 47.176,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.89712,
    "c": 0.12684,
    "h": 94.5
  },
  "luminance": 0.72427
}

Semantic roles & 50–950 ramp

primary
#F8DC75
secondary
#3E5ED3
accent
#31E600
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150F
muted
#868480

Preview Lab

Preview with #F8DC75

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

Preview Lab → · Contrast checker → · Palette generator →

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