#F8F596#F8F596

#F8F596 is a very light, moderate yellow. Relative luminance 0.875; OKLCH L 95.2% C 0.117 H 106.9°. Best body text is #000000 at 18.49:1 contrast (WCAG AA passes).

Color values

HEX#F8F596
RGBrgb(248, 245, 150)
HSLhsl(58, 88%, 78%)
HSVhsv(58, 40%, 97%)
CMYKcmyk(0%, 1.2%, 39.5%, 2.7%)
CIE-LABlab(94.94, -12.32, 46.05)
CIE-LCHlch(94.94, 47.67, 104.98°)
OKLaboklab(95.2% -0.0339 0.112)
OKLCHoklch(95.2% 0.117 106.9)
XYZxyz(76.8700, 87.4650, 41.6813)
Luminance0.8746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F596 #9699F8
analogous
#F8C496 #F8F596 #CAF896
triadic
#F8F596 #96F8F5 #F596F8
tetradic
#F8F596 #96F8C4 #9699F8 #F896CA
square
#F8F596 #96F8C4 #9699F8 #F896CA
split-complementary
#F8F596 #96CAF8 #C496F8
monochromatic
#F0EA23 #F4F05D #F8F596 #FCFACF #FDFCE2

Accessibility & contrast

On white

1.14
#F8F596 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.49
#F8F596 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F596
18.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F596#FFFFFF#000000##000000
##F8F5961.001.1418.4918.49
#FFFFFF1.141.0021.0021.00
#00000018.4921.001.001.00
##00000018.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE8F
Deuteranopia (green-blind)
#FFF29A
Tritanopia (blue-blind)
#FFEADE
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #f8f596;
/* rgb */ color: rgb(248, 245, 150);
/* oklch */ color: oklch(95.2% 0.117 106.9);
Tailwind
colors: {
  custom: {
    50: '#fcf8b6',
    500: '#f8f596',
    950: '#000000',
  },
}
SCSS
$custom: #f8f596;
$custom-light: #fcf8b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f596",
  "rgb": {
    "r": 248,
    "g": 245,
    "b": 150
  },
  "hsl": {
    "h": 58.163,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.95203,
    "c": 0.11703,
    "h": 106.9
  },
  "luminance": 0.87463
}

Semantic roles & 50–950 ramp

primary
#F8F596
secondary
#5B5FD8
accent
#08E401
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F596

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

Preview Lab → · Contrast checker → · Palette generator →

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