#F8EF95#F8EF95

#F8EF95 is a very light, moderate yellow. Relative luminance 0.839; OKLCH L 94.0% C 0.112 H 103.4°. Best body text is #000000 at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#F8EF95
RGBrgb(248, 239, 149)
HSLhsl(55, 88%, 78%)
HSVhsv(55, 40%, 97%)
CMYKcmyk(0%, 3.6%, 39.9%, 2.7%)
CIE-LABlab(93.39, -9.46, 44.58)
CIE-LCHlch(93.39, 45.57, 101.99°)
OKLaboklab(93.97% -0.0258 0.1086)
OKLCHoklch(93.97% 0.112 103.4)
XYZxyz(75.0041, 83.8614, 40.6638)
Luminance0.8386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF95 #959EF8
analogous
#F8BD95 #F8EF95 #D0F895
triadic
#F8EF95 #95F8EF #EF95F8
tetradic
#F8EF95 #95F8BD #959EF8 #F895D0
square
#F8EF95 #95F8BD #959EF8 #F895D0
split-complementary
#F8EF95 #95D0F8 #BD95F8
monochromatic
#F0DE22 #F4E65C #F8EF95 #FCF8CE #FDFBE2

Accessibility & contrast

On white

1.18
#F8EF95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.77
#F8EF95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8EF95
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8EF95#FFFFFF#000000##000000
##F8EF951.001.1817.7717.77
#FFFFFF1.181.0021.0021.00
#00000017.7721.001.001.00
##00000017.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE98E
Deuteranopia (green-blind)
#FFEE99
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8ef95;
/* rgb */ color: rgb(248, 239, 149);
/* oklch */ color: oklch(94.0% 0.112 103.4);
Tailwind
colors: {
  custom: {
    50: '#fcf4b5',
    500: '#f8ef95',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef95;
$custom-light: #fcf4b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef95",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 149
  },
  "hsl": {
    "h": 54.545,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93972,
    "c": 0.11163,
    "h": 103.4
  },
  "luminance": 0.83859
}

Semantic roles & 50–950 ramp

primary
#F8EF95
secondary
#5A65D7
accent
#16E401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8EF95

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

Preview Lab → · Contrast checker → · Palette generator →

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