#F8FD7B#F8FD7B

#F8FD7B is a very light, vivid yellow. Relative luminance 0.916; OKLCH L 96.5% C 0.153 H 110.9°. Best body text is #000000 at 19.33:1 contrast (WCAG AA passes).

Color values

HEX#F8FD7B
RGBrgb(248, 253, 123)
HSLhsl(62, 97%, 74%)
HSVhsv(62, 51%, 99%)
CMYKcmyk(2%, 0%, 51.4%, 0.8%)
CIE-LABlab(96.67, -18.72, 60.81)
CIE-LCHlch(96.67, 63.63, 107.11°)
OKLaboklab(96.48% -0.0546 0.1427)
OKLCHoklch(96.48% 0.153 110.9)
XYZxyz(77.4135, 91.6387, 32.3451)
Luminance0.9164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FD7B #807BFD
analogous
#FDC17B #F8FD7B #B7FD7B
triadic
#F8FD7B #7BF8FD #FD7BF8
tetradic
#F8FD7B #7BFDC1 #807BFD #FD7BB7
square
#F8FD7B #7BFDC1 #807BFD #FD7BB7
split-complementary
#F8FD7B #7BB7FD #C17BFD
monochromatic
#F0FA04 #F5FC3F #F8FD7B #FBFEB7 #FDFFE1

Accessibility & contrast

On white

1.09
#F8FD7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.33
#F8FD7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FD7B
19.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FD7B#FFFFFF#000000##000000
##F8FD7B1.001.0919.3319.33
#FFFFFF1.091.0021.0021.00
#00000019.3321.001.001.00
##00000019.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF36F
Deuteranopia (green-blind)
#FFF782
Tritanopia (blue-blind)
#FFF0E0
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #f8fd7b;
/* rgb */ color: rgb(248, 253, 123);
/* oklch */ color: oklch(96.5% 0.153 110.9);
Tailwind
colors: {
  custom: {
    50: '#fdfda4',
    500: '#f8fd7b',
    950: '#000000',
  },
}
SCSS
$custom: #f8fd7b;
$custom-light: #fdfda4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8fd7b",
  "rgb": {
    "r": 248,
    "g": 253,
    "b": 123
  },
  "hsl": {
    "h": 62.308,
    "s": 97.015,
    "l": 73.725
  },
  "oklch": {
    "l": 0.96482,
    "c": 0.15284,
    "h": 110.9
  },
  "luminance": 0.91637
}

Semantic roles & 50–950 ramp

primary
#F8FD7B
secondary
#4741DB
accent
#00E609
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F8FD7B

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

Preview Lab → · Contrast checker → · Palette generator →

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