#F8EA60#F8EA60

#F8EA60 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 92.3% C 0.157 H 103.5°. Best body text is #000000 at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#F8EA60
RGBrgb(248, 234, 96)
HSLhsl(54, 92%, 67%)
HSVhsv(54, 61%, 97%)
CMYKcmyk(0%, 5.6%, 61.3%, 2.7%)
CIE-LABlab(91.53, -11.41, 66.74)
CIE-LCHlch(91.53, 67.70, 99.70°)
OKLaboklab(92.3% -0.0366 0.1523)
OKLCHoklch(92.3% 0.157 103.5)
XYZxyz(70.2481, 79.6492, 22.7376)
Luminance0.7965 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EA60 #606EF8
analogous
#F89E60 #F8EA60 #BAF860
triadic
#F8EA60 #60F8EA #EA60F8
tetradic
#F8EA60 #60F89E #606EF8 #F860BA
square
#F8EA60 #60F89E #606EF8 #F860BA
split-complementary
#F8EA60 #60BAF8 #9E60F8
monochromatic
#D4C209 #F5E225 #F8EA60 #FBF29B #FDF9D5

Accessibility & contrast

On white

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

On black

16.93
#F8EA60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EA60
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EA60#FFFFFF#000000##000000
##F8EA601.001.2416.9316.93
#FFFFFF1.241.0021.0021.00
#00000016.9321.001.001.00
##00000016.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ea60;
/* rgb */ color: rgb(248, 234, 96);
/* oklch */ color: oklch(92.3% 0.157 103.5);
Tailwind
colors: {
  custom: {
    50: '#fef093',
    500: '#f8ea60',
    950: '#000000',
  },
}
SCSS
$custom: #f8ea60;
$custom-light: #fef093;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ea60",
  "rgb": {
    "r": 248,
    "g": 234,
    "b": 96
  },
  "hsl": {
    "h": 54.474,
    "s": 91.566,
    "l": 67.451
  },
  "oklch": {
    "l": 0.92304,
    "c": 0.15667,
    "h": 103.5
  },
  "luminance": 0.79647
}

Semantic roles & 50–950 ramp

primary
#F8EA60
secondary
#2D3CCF
accent
#15E600
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18160D
muted
#86857F

Preview Lab

Preview with #F8EA60

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

Preview Lab → · Contrast checker → · Palette generator →

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