#F8ED62#F8ED62

#F8ED62 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.9% C 0.158 H 104.8°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#F8ED62
RGBrgb(248, 237, 98)
HSLhsl(56, 91%, 68%)
HSVhsv(56, 60%, 97%)
CMYKcmyk(0%, 4.4%, 60.5%, 2.7%)
CIE-LABlab(92.31, -12.76, 66.75)
CIE-LCHlch(92.31, 67.96, 100.82°)
OKLaboklab(92.93% -0.0403 0.1526)
OKLCHoklch(92.93% 0.158 104.8)
XYZxyz(71.2027, 81.4092, 23.5158)
Luminance0.8141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8ED62 #626DF8
analogous
#F8A262 #F8ED62 #B8F862
triadic
#F8ED62 #62F8ED #ED62F8
tetradic
#F8ED62 #62F8A2 #626DF8 #F862B8
square
#F8ED62 #62F8A2 #626DF8 #F862B8
split-complementary
#F8ED62 #62B8F8 #A262F8
monochromatic
#D6C70A #F5E627 #F8ED62 #FBF49D #FDFAD7

Accessibility & contrast

On white

1.22
#F8ED62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#F8ED62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8ED62
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8ED62#FFFFFF#000000##000000
##F8ED621.001.2217.2817.28
#FFFFFF1.221.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE552
Deuteranopia (green-blind)
#FFEC6A
Tritanopia (blue-blind)
#FFDECF
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f8ed62;
/* rgb */ color: rgb(248, 237, 98);
/* oklch */ color: oklch(92.9% 0.158 104.8);
Tailwind
colors: {
  custom: {
    50: '#fef294',
    500: '#f8ed62',
    950: '#000000',
  },
}
SCSS
$custom: #f8ed62;
$custom-light: #fef294;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ed62",
  "rgb": {
    "r": 248,
    "g": 237,
    "b": 98
  },
  "hsl": {
    "h": 55.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92934,
    "c": 0.15786,
    "h": 104.8
  },
  "luminance": 0.81407
}

Semantic roles & 50–950 ramp

primary
#F8ED62
secondary
#2E3AD0
accent
#11E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8ED62

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

Preview Lab → · Contrast checker → · Palette generator →

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