#F8ED88#F8ED88

#F8ED88 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.4% C 0.123 H 103.0°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#F8ED88
RGBrgb(248, 237, 136)
HSLhsl(54, 89%, 75%)
HSVhsv(54, 45%, 97%)
CMYKcmyk(0%, 4.4%, 45.2%, 2.7%)
CIE-LABlab(92.71, -9.76, 50.03)
CIE-LCHlch(92.71, 50.97, 101.04°)
OKLaboklab(93.38% -0.0278 0.1201)
OKLCHoklch(93.38% 0.123 103)
XYZxyz(73.4413, 82.3046, 35.3055)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED88 #8893F8
analogous
#F8B588 #F8ED88 #CBF888
triadic
#F8ED88 #88F8ED #ED88F8
tetradic
#F8ED88 #88F8B5 #8893F8 #F888CB
square
#F8ED88 #88F8B5 #8893F8 #F888CB
split-complementary
#F8ED88 #88CBF8 #B588F8
monochromatic
#F1DC14 #F5E44E #F8ED88 #FBF6C2 #FDFBE2

Accessibility & contrast

On white

1.20
#F8ED88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#F8ED88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED88
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED88#FFFFFF#000000##000000
##F8ED881.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE780
Deuteranopia (green-blind)
#FFED8C
Tritanopia (blue-blind)
#FFE1D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ed88;
/* rgb */ color: rgb(248, 237, 136);
/* oklch */ color: oklch(93.4% 0.123 103.0);
Tailwind
colors: {
  custom: {
    50: '#fcf2ac',
    500: '#f8ed88',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed88;
$custom-light: #fcf2ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed88",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 136
  },
  "hsl": {
    "h": 54.107,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93376,
    "c": 0.1233,
    "h": 103
  },
  "luminance": 0.82302
}

Semantic roles & 50–950 ramp

primary
#F8ED88
secondary
#4E5CD6
accent
#17E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F8ED88

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

Preview Lab → · Contrast checker → · Palette generator →

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