#F8E96D#F8E96D

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

Color values

HEX#F8E96D
RGBrgb(248, 233, 109)
HSLhsl(54, 91%, 70%)
HSVhsv(54, 56%, 97%)
CMYKcmyk(0%, 6%, 56%, 2.7%)
CIE-LABlab(91.39, -10.03, 60.98)
CIE-LCHlch(91.39, 61.80, 99.34°)
OKLaboklab(92.23% -0.0313 0.1417)
OKLCHoklch(92.23% 0.145 102.5)
XYZxyz(70.6130, 79.3410, 26.0598)
Luminance0.7934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E96D #6D7CF8
analogous
#F8A36D #F8E96D #C2F86D
triadic
#F8E96D #6DF8E9 #E96DF8
tetradic
#F8E96D #6DF8A3 #6D7CF8 #F86DC2
square
#F8E96D #6DF8A3 #6D7CF8 #F86DC2
split-complementary
#F8E96D #6DC2F8 #A36DF8
monochromatic
#E0C90B #F5E033 #F8E96D #FBF2A7 #FEFBE2

Accessibility & contrast

On white

1.24
#F8E96D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#F8E96D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E96D
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E96D#FFFFFF#000000##000000
##F8E96D1.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE260
Deuteranopia (green-blind)
#FFE973
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f8e96d;
/* rgb */ color: rgb(248, 233, 109);
/* oklch */ color: oklch(92.2% 0.145 102.5);
Tailwind
colors: {
  custom: {
    50: '#fdef9b',
    500: '#f8e96d',
    950: '#000000',
  },
}
SCSS
$custom: #f8e96d;
$custom-light: #fdef9b;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e96d",
  "rgb": {
    "r": 248,
    "g": 233,
    "b": 109
  },
  "hsl": {
    "h": 53.525,
    "s": 90.85,
    "l": 70
  },
  "oklch": {
    "l": 0.92231,
    "c": 0.14507,
    "h": 102.5
  },
  "luminance": 0.79338
}

Semantic roles & 50–950 ramp

primary
#F8E96D
secondary
#3748D2
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160E
muted
#86857F

Preview Lab

Preview with #F8E96D

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

Preview Lab → · Contrast checker → · Palette generator →

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