#F8FE9C#F8FE9C

#F8FE9C is a very light, vivid yellow. Relative luminance 0.932; OKLCH L 97.1% C 0.121 H 111.5°. Best body text is #000000 at 19.65:1 contrast (WCAG AA passes).

Color values

HEX#F8FE9C
RGBrgb(248, 254, 156)
HSLhsl(64, 98%, 80%)
HSVhsv(64, 39%, 100%)
CMYKcmyk(2.4%, 0%, 38.6%, 0.4%)
CIE-LABlab(97.33, -16.08, 46.17)
CIE-LCHlch(97.33, 48.89, 109.21°)
OKLaboklab(97.13% -0.0443 0.1126)
OKLCHoklch(97.13% 0.121 111.5)
XYZxyz(80.1548, 93.2417, 45.2210)
Luminance0.9324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE9C #A29CFE
analogous
#FED39C #F8FE9C #C7FE9C
triadic
#F8FE9C #9CF8FE #FE9CF8
tetradic
#F8FE9C #9CFED3 #A29CFE #FE9CC7
square
#F8FE9C #9CFED3 #A29CFE #FE9CC7
split-complementary
#F8FE9C #9CC7FE #D39CFE
monochromatic
#EFFD23 #F4FD5F #F8FE9C #FCFFD9 #FDFFE1

Accessibility & contrast

On white

1.07
#F8FE9C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.65
#F8FE9C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FE9C
19.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FE9C#FFFFFF#000000##000000
##F8FE9C1.001.0719.6519.65
#FFFFFF1.071.0021.0021.00
#00000019.6521.001.001.00
##00000019.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF695
Deuteranopia (green-blind)
#FFF9A0
Tritanopia (blue-blind)
#FFF3E6
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f8fe9c;
/* rgb */ color: rgb(248, 254, 156);
/* oklch */ color: oklch(97.1% 0.121 111.5);
Tailwind
colors: {
  custom: {
    50: '#fcfeba',
    500: '#f8fe9c',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe9c;
$custom-light: #fcfeba;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe9c",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 156
  },
  "hsl": {
    "h": 63.673,
    "s": 98,
    "l": 80.392
  },
  "oklch": {
    "l": 0.97131,
    "c": 0.12096,
    "h": 111.5
  },
  "luminance": 0.9324
}

Semantic roles & 50–950 ramp

primary
#F8FE9C
secondary
#655DE1
accent
#00E60E
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #F8FE9C

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

Preview Lab → · Contrast checker → · Palette generator →

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