#F8E96A#F8E96A

#F8E96A is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.2% C 0.148 H 102.6°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#F8E96A
RGBrgb(248, 233, 106)
HSLhsl(54, 91%, 69%)
HSVhsv(54, 57%, 97%)
CMYKcmyk(0%, 6%, 57.3%, 2.7%)
CIE-LABlab(91.36, -10.25, 62.27)
CIE-LCHlch(91.36, 63.11, 99.35°)
OKLaboklab(92.2% -0.0322 0.1441)
OKLCHoklch(92.2% 0.148 102.6)
XYZxyz(70.4543, 79.2775, 25.2238)
Luminance0.7927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E96A #6A79F8
analogous
#F8A26A #F8E96A #C0F86A
triadic
#F8E96A #6AF8E9 #E96AF8
tetradic
#F8E96A #6AF8A2 #6A79F8 #F86AC0
square
#F8E96A #6AF8A2 #6A79F8 #F86AC0
split-complementary
#F8E96A #6AC0F8 #A26AF8
monochromatic
#DDC70A #F5E030 #F8E96A #FBF2A4 #FDFADF

Accessibility & contrast

On white

1.25
#F8E96A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#F8E96A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E96A
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E96A#FFFFFF#000000##000000
##F8E96A1.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE25D
Deuteranopia (green-blind)
#FFE970
Tritanopia (blue-blind)
#FFDBCD
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f8e96a;
/* rgb */ color: rgb(248, 233, 106);
/* oklch */ color: oklch(92.2% 0.148 102.6);
Tailwind
colors: {
  custom: {
    50: '#fdef99',
    500: '#f8e96a',
    950: '#000000',
  },
}
SCSS
$custom: #f8e96a;
$custom-light: #fdef99;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e96a",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 106
  },
  "hsl": {
    "h": 53.662,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92199,
    "c": 0.14764,
    "h": 102.6
  },
  "luminance": 0.79275
}

Semantic roles & 50–950 ramp

primary
#F8E96A
secondary
#3445D2
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8E96A

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

Preview Lab → · Contrast checker → · Palette generator →

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