#F8E596#F8E596

#F8E596 is a very light, moderate yellow. Relative luminance 0.782; OKLCH L 92.0% C 0.101 H 96.3°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#F8E596
RGBrgb(248, 229, 150)
HSLhsl(48, 88%, 78%)
HSVhsv(48, 40%, 97%)
CMYKcmyk(0%, 7.7%, 39.5%, 2.7%)
CIE-LABlab(90.87, -4.36, 40.86)
CIE-LCHlch(90.87, 41.09, 96.09°)
OKLaboklab(91.98% -0.011 0.1002)
OKLCHoklch(91.98% 0.101 96.3)
XYZxyz(72.2372, 78.1994, 40.1371)
Luminance0.7820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8E596 #96A9F8
analogous
#F8B496 #F8E596 #DAF896
triadic
#F8E596 #96F8E5 #E596F8
tetradic
#F8E596 #96F8B4 #96A9F8 #F896DA
square
#F8E596 #96F8B4 #96A9F8 #F896DA
split-complementary
#F8E596 #96DAF8 #B496F8
monochromatic
#F0C923 #F4D75D #F8E596 #FCF3CF #FDF8E2

Accessibility & contrast

On white

1.26
#F8E596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#F8E596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8E596
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8E596#FFFFFF#000000##000000
##F8E5961.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E190
Deuteranopia (green-blind)
#F9E899
Tritanopia (blue-blind)
#FFDAD1
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f8e596;
/* rgb */ color: rgb(248, 229, 150);
/* oklch */ color: oklch(92.0% 0.101 96.3);
Tailwind
colors: {
  custom: {
    50: '#fcedb6',
    500: '#f8e596',
    950: '#000000',
  },
}
SCSS
$custom: #f8e596;
$custom-light: #fcedb6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8e596",
  "rgb": {
    "r": 248,
    "g": 229,
    "b": 150
  },
  "hsl": {
    "h": 48.367,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.91982,
    "c": 0.10076,
    "h": 96.3
  },
  "luminance": 0.78197
}

Semantic roles & 50–950 ramp

primary
#F8E596
secondary
#5B73D8
accent
#2DE401
background
#FFFEFD
surface
#FFFDF8
border
#D7D5D1
text
#181611
muted
#868481

Preview Lab

Preview with #F8E596

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

Preview Lab → · Contrast checker → · Palette generator →

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