#F8EF94#F8EF94

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

Color values

HEX#F8EF94
RGBrgb(248, 239, 148)
HSLhsl(55, 88%, 78%)
HSVhsv(55, 40%, 97%)
CMYKcmyk(0%, 3.6%, 40.3%, 2.7%)
CIE-LABlab(93.38, -9.57, 45.05)
CIE-LCHlch(93.38, 46.05, 101.99°)
OKLaboklab(93.96% -0.0262 0.1096)
OKLCHoklch(93.96% 0.113 103.4)
XYZxyz(74.9246, 83.8296, 40.2451)
Luminance0.8383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8EF94 #949DF8
analogous
#F8BD94 #F8EF94 #CFF894
triadic
#F8EF94 #94F8EF #EF94F8
tetradic
#F8EF94 #94F8BD #949DF8 #F894CF
square
#F8EF94 #94F8BD #949DF8 #F894CF
split-complementary
#F8EF94 #94CFF8 #BD94F8
monochromatic
#F0DE21 #F4E65B #F8EF94 #FCF8CD #FDFBE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8EF94#FFFFFF#000000##000000
##F8EF941.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)
#FEE98D
Deuteranopia (green-blind)
#FFEE98
Tritanopia (blue-blind)
#FFE4D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #f8ef94;
/* rgb */ color: rgb(248, 239, 148);
/* oklch */ color: oklch(94.0% 0.113 103.4);
Tailwind
colors: {
  custom: {
    50: '#fcf4b4',
    500: '#f8ef94',
    950: '#000000',
  },
}
SCSS
$custom: #f8ef94;
$custom-light: #fcf4b4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ef94",
  "rgb": {
    "r": 248,
    "g": 239,
    "b": 148
  },
  "hsl": {
    "h": 54.6,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.93957,
    "c": 0.11271,
    "h": 103.4
  },
  "luminance": 0.83828
}

Semantic roles & 50–950 ramp

primary
#F8EF94
secondary
#5964D7
accent
#16E401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8EF94

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

Preview Lab → · Contrast checker → · Palette generator →

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