#F8EA62#F8EA62

#F8EA62 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.3% C 0.155 H 103.4°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#F8EA62
RGBrgb(248, 234, 98)
HSLhsl(54, 91%, 68%)
HSVhsv(54, 60%, 97%)
CMYKcmyk(0%, 5.6%, 60.5%, 2.7%)
CIE-LABlab(91.54, -11.29, 65.92)
CIE-LCHlch(91.54, 66.88, 99.72°)
OKLaboklab(92.32% -0.0361 0.1509)
OKLCHoklch(92.32% 0.155 103.4)
XYZxyz(70.3414, 79.6865, 23.2287)
Luminance0.7968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA62 #6270F8
analogous
#F89F62 #F8EA62 #BBF862
triadic
#F8EA62 #62F8EA #EA62F8
tetradic
#F8EA62 #62F89F #6270F8 #F862BB
square
#F8EA62 #62F89F #6270F8 #F862BB
split-complementary
#F8EA62 #62BBF8 #9F62F8
monochromatic
#D6C30A #F5E227 #F8EA62 #FBF29D #FDFAD7

Accessibility & contrast

On white

1.24
#F8EA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.94
#F8EA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA62
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA62#FFFFFF#000000##000000
##F8EA621.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE352
Deuteranopia (green-blind)
#FFEA69
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f8ea62;
/* rgb */ color: rgb(248, 234, 98);
/* oklch */ color: oklch(92.3% 0.155 103.4);
Tailwind
colors: {
  custom: {
    50: '#fef094',
    500: '#f8ea62',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea62;
$custom-light: #fef094;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea62",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 98
  },
  "hsl": {
    "h": 54.4,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.92322,
    "c": 0.1551,
    "h": 103.4
  },
  "luminance": 0.79684
}

Semantic roles & 50–950 ramp

primary
#F8EA62
secondary
#2E3DD0
accent
#15E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160D
muted
#86857F

Preview Lab

Preview with #F8EA62

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

Preview Lab → · Contrast checker → · Palette generator →

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