#F8F96E#F8F96E

#F8F96E is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.5% C 0.160 H 109.5°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#F8F96E
RGBrgb(248, 249, 110)
HSLhsl(60, 92%, 70%)
HSVhsv(60, 56%, 98%)
CMYKcmyk(0.4%, 0%, 55.8%, 2.4%)
CIE-LABlab(95.51, -17.79, 65.19)
CIE-LCHlch(95.51, 67.58, 105.26°)
OKLaboklab(95.52% -0.0533 0.1508)
OKLCHoklch(95.52% 0.16 109.5)
XYZxyz(75.4036, 88.8355, 27.9237)
Luminance0.8883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F96E #6F6EF9
analogous
#F9B56E #F8F96E #B2F96E
triadic
#F8F96E #6EF8F9 #F96EF8
tetradic
#F8F96E #6EF9B5 #6F6EF9 #F96EB2
square
#F8F96E #6EF9B5 #6F6EF9 #F96EB2
split-complementary
#F8F96E #6EB2F9 #B56EF9
monochromatic
#E2E309 #F5F733 #F8F96E #FBFBA9 #FEFEE2

Accessibility & contrast

On white

1.12
#F8F96E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.77
#F8F96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F96E
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F96E#FFFFFF#000000##000000
##F8F96E1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF05F
Deuteranopia (green-blind)
#FFF476
Tritanopia (blue-blind)
#FFEBDB
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f96e;
/* rgb */ color: rgb(248, 249, 110);
/* oklch */ color: oklch(95.5% 0.160 109.5);
Tailwind
colors: {
  custom: {
    50: '#fdfb9c',
    500: '#f8f96e',
    950: '#000000',
  },
}
SCSS
$custom: #f8f96e;
$custom-light: #fdfb9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f96e",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 110
  },
  "hsl": {
    "h": 60.432,
    "s": 92.053,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95515,
    "c": 0.15994,
    "h": 109.5
  },
  "luminance": 0.88834
}

Semantic roles & 50–950 ramp

primary
#F8F96E
secondary
#3837D4
accent
#00E602
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#18170F
muted
#868580

Preview Lab

Preview with #F8F96E

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

Preview Lab → · Contrast checker → · Palette generator →

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