#F8EE78#F8EE78

#F8EE78 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.4% C 0.140 H 104.4°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#F8EE78
RGBrgb(248, 238, 120)
HSLhsl(55, 90%, 72%)
HSVhsv(55, 52%, 97%)
CMYKcmyk(0%, 4%, 51.6%, 2.7%)
CIE-LABlab(92.78, -11.66, 57.62)
CIE-LCHlch(92.78, 58.79, 101.44°)
OKLaboklab(93.37% -0.0348 0.1355)
OKLCHoklch(93.37% 0.14 104.4)
XYZxyz(72.6782, 82.4639, 29.8544)
Luminance0.8246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EE78 #7882F8
analogous
#F8AE78 #F8EE78 #C2F878
triadic
#F8EE78 #78F8EE #EE78F8
tetradic
#F8EE78 #78F8AE #7882F8 #F878C2
square
#F8EE78 #78F8AE #7882F8 #F878C2
split-complementary
#F8EE78 #78C2F8 #AE78F8
monochromatic
#E9D80C #F5E73E #F8EE78 #FBF5B2 #FDFBE2

Accessibility & contrast

On white

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

On black

17.49
#F8EE78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EE78
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EE78#FFFFFF#000000##000000
##F8EE781.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FFED7E
Tritanopia (blue-blind)
#FFE1D3
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #f8ee78;
/* rgb */ color: rgb(248, 238, 120);
/* oklch */ color: oklch(93.4% 0.140 104.4);
Tailwind
colors: {
  custom: {
    50: '#fdf3a2',
    500: '#f8ee78',
    950: '#000000',
  },
}
SCSS
$custom: #f8ee78;
$custom-light: #fdf3a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ee78",
  "rgb": {
    "r": 248,
    "g": 238,
    "b": 120
  },
  "hsl": {
    "h": 55.313,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.93372,
    "c": 0.13993,
    "h": 104.4
  },
  "luminance": 0.82462
}

Semantic roles & 50–950 ramp

primary
#F8EE78
secondary
#404CD4
accent
#12E600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8EE78

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

Preview Lab → · Contrast checker → · Palette generator →

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