#F8ED86#F8ED86

#F8ED86 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.3% C 0.125 H 103.1°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#F8ED86
RGBrgb(248, 237, 134)
HSLhsl(54, 89%, 75%)
HSVhsv(54, 46%, 97%)
CMYKcmyk(0%, 4.4%, 46%, 2.7%)
CIE-LABlab(92.68, -9.95, 50.95)
CIE-LCHlch(92.68, 51.92, 101.04°)
OKLaboklab(93.35% -0.0285 0.1221)
OKLCHoklch(93.35% 0.125 103.1)
XYZxyz(73.3004, 82.2483, 34.5639)
Luminance0.8225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED86 #8691F8
analogous
#F8B486 #F8ED86 #CAF886
triadic
#F8ED86 #86F8ED #ED86F8
tetradic
#F8ED86 #86F8B4 #8691F8 #F886CA
square
#F8ED86 #86F8B4 #8691F8 #F886CA
split-complementary
#F8ED86 #86CAF8 #B486F8
monochromatic
#F1DC12 #F5E44C #F8ED86 #FBF6C0 #FDFBE2

Accessibility & contrast

On white

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

On black

17.45
#F8ED86 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED86
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED86#FFFFFF#000000##000000
##F8ED861.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ed86;
/* rgb */ color: rgb(248, 237, 134);
/* oklch */ color: oklch(93.3% 0.125 103.1);
Tailwind
colors: {
  custom: {
    50: '#fcf2ab',
    500: '#f8ed86',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed86;
$custom-light: #fcf2ab;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed86",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 134
  },
  "hsl": {
    "h": 54.211,
    "s": 89.063,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93348,
    "c": 0.12533,
    "h": 103.1
  },
  "luminance": 0.82246
}

Semantic roles & 50–950 ramp

primary
#F8ED86
secondary
#4D5AD6
accent
#16E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F8ED86

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

Preview Lab → · Contrast checker → · Palette generator →

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