#F8FE9D#F8FE9D

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

Color values

HEX#F8FE9D
RGBrgb(248, 254, 157)
HSLhsl(64, 98%, 81%)
HSVhsv(64, 38%, 100%)
CMYKcmyk(2.4%, 0%, 38.2%, 0.4%)
CIE-LABlab(97.34, -15.98, 45.70)
CIE-LCHlch(97.34, 48.41, 109.27°)
OKLaboklab(97.15% -0.0439 0.1116)
OKLCHoklch(97.15% 0.12 111.5)
XYZxyz(80.2398, 93.2757, 45.6688)
Luminance0.9327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FE9D #A39DFE
analogous
#FED39D #F8FE9D #C7FE9D
triadic
#F8FE9D #9DF8FE #FE9DF8
tetradic
#F8FE9D #9DFED3 #A39DFE #FE9DC7
square
#F8FE9D #9DFED3 #A39DFE #FE9DC7
split-complementary
#F8FE9D #9DC7FE #D39DFE
monochromatic
#EFFD24 #F4FD60 #F8FE9D #FCFFDA #FDFFE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F8FE9D#FFFFFF#000000##000000
##F8FE9D1.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)
#FFF696
Deuteranopia (green-blind)
#FFF9A1
Tritanopia (blue-blind)
#FFF3E6
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f8fe9d;
/* rgb */ color: rgb(248, 254, 157);
/* oklch */ color: oklch(97.1% 0.120 111.5);
Tailwind
colors: {
  custom: {
    50: '#fcfebb',
    500: '#f8fe9d',
    950: '#000000',
  },
}
SCSS
$custom: #f8fe9d;
$custom-light: #fcfebb;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fe9d",
  "rgb": {
    "r": 248,
    "g": 254,
    "b": 157
  },
  "hsl": {
    "h": 63.711,
    "s": 97.98,
    "l": 80.588
  },
  "oklch": {
    "l": 0.97146,
    "c": 0.11988,
    "h": 111.5
  },
  "luminance": 0.93274
}

Semantic roles & 50–950 ramp

primary
#F8FE9D
secondary
#665EE1
accent
#00E60E
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181712
muted
#868582

Preview Lab

Preview with #F8FE9D

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

Preview Lab → · Contrast checker → · Palette generator →

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