#F8EF89#F8EF89

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

Color values

HEX#F8EF89
RGBrgb(248, 239, 137)
HSLhsl(55, 89%, 75%)
HSVhsv(55, 45%, 97%)
CMYKcmyk(0%, 3.6%, 44.8%, 2.7%)
CIE-LABlab(93.23, -10.66, 50.19)
CIE-LCHlch(93.23, 51.31, 101.99°)
OKLaboklab(93.8% -0.0302 0.1206)
OKLCHoklch(93.8% 0.124 104.1)
XYZxyz(74.0949, 83.4977, 35.8756)
Luminance0.8350 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF89 #8992F8
analogous
#F8B789 #F8EF89 #C9F889
triadic
#F8EF89 #89F8EF #EF89F8
tetradic
#F8EF89 #89F8B7 #8992F8 #F889C9
square
#F8EF89 #89F8B7 #8992F8 #F889C9
split-complementary
#F8EF89 #89C9F8 #B789F8
monochromatic
#F1DF15 #F5E74F #F8EF89 #FBF7C3 #FDFBE2

Accessibility & contrast

On white

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

On black

17.70
#F8EF89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF89
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF89#FFFFFF#000000##000000
##F8EF891.001.1917.7017.70
#FFFFFF1.191.0021.0021.00
#00000017.7021.001.001.00
##00000017.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f8ef89;
/* rgb */ color: rgb(248, 239, 137);
/* oklch */ color: oklch(93.8% 0.124 104.1);
Tailwind
colors: {
  custom: {
    50: '#fcf4ad',
    500: '#f8ef89',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef89;
$custom-light: #fcf4ad;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef89",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 137
  },
  "hsl": {
    "h": 55.135,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.93795,
    "c": 0.12429,
    "h": 104.1
  },
  "luminance": 0.83496
}

Semantic roles & 50–950 ramp

primary
#F8EF89
secondary
#4F5AD6
accent
#13E500
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8EF89

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

Preview Lab → · Contrast checker → · Palette generator →

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