#F8EF88#F8EF88

#F8EF88 is a very light, vivid yellow. Relative luminance 0.835; OKLCH L 93.8% C 0.125 H 104.1°. Best body text is #000000 at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#F8EF88
RGBrgb(248, 239, 136)
HSLhsl(55, 89%, 75%)
HSVhsv(55, 45%, 97%)
CMYKcmyk(0%, 3.6%, 45.2%, 2.7%)
CIE-LABlab(93.22, -10.75, 50.66)
CIE-LCHlch(93.22, 51.78, 101.98°)
OKLaboklab(93.78% -0.0306 0.1215)
OKLCHoklch(93.78% 0.125 104.1)
XYZxyz(74.0235, 83.4691, 35.4996)
Luminance0.8347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF88 #8891F8
analogous
#F8B788 #F8EF88 #C9F888
triadic
#F8EF88 #88F8EF #EF88F8
tetradic
#F8EF88 #88F8B7 #8891F8 #F888C9
square
#F8EF88 #88F8B7 #8891F8 #F888C9
split-complementary
#F8EF88 #88C9F8 #B788F8
monochromatic
#F1DF14 #F5E74E #F8EF88 #FBF7C2 #FDFBE2

Accessibility & contrast

On white

1.19
#F8EF88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.69
#F8EF88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF88
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF88#FFFFFF#000000##000000
##F8EF881.001.1917.6917.69
#FFFFFF1.191.0021.0021.00
#00000017.6921.001.001.00
##00000017.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE87F
Deuteranopia (green-blind)
#FFEE8D
Tritanopia (blue-blind)
#FFE3D7
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f8ef88;
/* rgb */ color: rgb(248, 239, 136);
/* oklch */ color: oklch(93.8% 0.125 104.1);
Tailwind
colors: {
  custom: {
    50: '#fcf4ac',
    500: '#f8ef88',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef88;
$custom-light: #fcf4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef88",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 136
  },
  "hsl": {
    "h": 55.179,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.93781,
    "c": 0.12531,
    "h": 104.1
  },
  "luminance": 0.83467
}

Semantic roles & 50–950 ramp

primary
#F8EF88
secondary
#4E59D6
accent
#12E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8EF88

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

Preview Lab → · Contrast checker → · Palette generator →

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