#F8ED80#F8ED80

#F8ED80 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.3% C 0.131 H 103.5°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#F8ED80
RGBrgb(248, 237, 128)
HSLhsl(55, 90%, 74%)
HSVhsv(55, 48%, 97%)
CMYKcmyk(0%, 4.4%, 48.4%, 2.7%)
CIE-LABlab(92.61, -10.49, 53.71)
CIE-LCHlch(92.61, 54.72, 101.05°)
OKLaboklab(93.27% -0.0306 0.1277)
OKLCHoklch(93.27% 0.131 103.5)
XYZxyz(72.8938, 82.0856, 32.4222)
Luminance0.8208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED80 #808BF8
analogous
#F8B180 #F8ED80 #C7F880
triadic
#F8ED80 #80F8ED #ED80F8
tetradic
#F8ED80 #80F8B1 #808BF8 #F880C7
square
#F8ED80 #80F8B1 #808BF8 #F880C7
split-complementary
#F8ED80 #80C7F8 #B180F8
monochromatic
#F0DC0D #F5E546 #F8ED80 #FBF5BA #FDFBE2

Accessibility & contrast

On white

1.21
#F8ED80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#F8ED80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED80
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED80#FFFFFF#000000##000000
##F8ED801.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE676
Deuteranopia (green-blind)
#FFEC85
Tritanopia (blue-blind)
#FFE0D4
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ed80;
/* rgb */ color: rgb(248, 237, 128);
/* oklch */ color: oklch(93.3% 0.131 103.5);
Tailwind
colors: {
  custom: {
    50: '#fdf2a7',
    500: '#f8ed80',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed80;
$custom-light: #fdf2a7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed80",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 128
  },
  "hsl": {
    "h": 54.5,
    "s": 89.552,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93268,
    "c": 0.1313,
    "h": 103.5
  },
  "luminance": 0.82083
}

Semantic roles & 50–950 ramp

primary
#F8ED80
secondary
#4754D5
accent
#15E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#181610
muted
#868580

Preview Lab

Preview with #F8ED80

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

Preview Lab → · Contrast checker → · Palette generator →

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