#F8F394#F8F394

#F8F394 is a very light, moderate yellow. Relative luminance 0.862; OKLCH L 94.8% C 0.117 H 105.8°. Best body text is #000000 at 18.24:1 contrast (WCAG AA passes).

Color values

HEX#F8F394
RGBrgb(248, 243, 148)
HSLhsl(57, 88%, 78%)
HSVhsv(57, 40%, 97%)
CMYKcmyk(0%, 2%, 40.3%, 2.7%)
CIE-LABlab(94.40, -11.54, 46.34)
CIE-LCHlch(94.40, 47.76, 103.99°)
OKLaboklab(94.77% -0.0319 0.1126)
OKLCHoklch(94.77% 0.117 105.8)
XYZxyz(76.1086, 86.1976, 40.6398)
Luminance0.8620 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F394 #9499F8
analogous
#F8C194 #F8F394 #CBF894
triadic
#F8F394 #94F8F3 #F394F8
tetradic
#F8F394 #94F8C1 #9499F8 #F894CB
square
#F8F394 #94F8C1 #9499F8 #F894CB
split-complementary
#F8F394 #94CBF8 #C194F8
monochromatic
#F0E621 #F4ED5B #F8F394 #FCF9CD #FDFCE2

Accessibility & contrast

On white

1.15
#F8F394 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.24
#F8F394 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F394
18.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F394#FFFFFF#000000##000000
##F8F3941.001.1518.2418.24
#FFFFFF1.151.0021.0021.00
#00000018.2421.001.001.00
##00000018.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC8D
Deuteranopia (green-blind)
#FFF198
Tritanopia (blue-blind)
#FFE8DC
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #f8f394;
/* rgb */ color: rgb(248, 243, 148);
/* oklch */ color: oklch(94.8% 0.117 105.8);
Tailwind
colors: {
  custom: {
    50: '#fcf6b5',
    500: '#f8f394',
    950: '#000000',
  },
}
SCSS
$custom: #f8f394;
$custom-light: #fcf6b5;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f394",
  "rgb": {
    "r": 248,
    "g": 243,
    "b": 148
  },
  "hsl": {
    "h": 57,
    "s": 87.719,
    "l": 77.647
  },
  "oklch": {
    "l": 0.94766,
    "c": 0.11698,
    "h": 105.8
  },
  "luminance": 0.86196
}

Semantic roles & 50–950 ramp

primary
#F8F394
secondary
#595FD7
accent
#0DE401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F394

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

Preview Lab → · Contrast checker → · Palette generator →

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