#F8FF8A#F8FF8A

#F8FF8A is a very light, vivid yellow. Relative luminance 0.933; OKLCH L 97.1% C 0.141 H 111.8°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).

Color values

HEX#F8FF8A
RGBrgb(248, 255, 138)
HSLhsl(64, 100%, 77%)
HSVhsv(64, 46%, 100%)
CMYKcmyk(2.7%, 0%, 45.9%, 0%)
CIE-LABlab(97.35, -18.37, 54.77)
CIE-LCHlch(97.35, 57.77, 108.54°)
OKLaboklab(97.08% -0.0522 0.1308)
OKLCHoklch(97.08% 0.141 111.8)
XYZxyz(79.0602, 93.3129, 37.8862)
Luminance0.9331 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FF8A #918AFF
analogous
#FFCC8A #F8FF8A #BEFF8A
triadic
#F8FF8A #8AF8FF #FF8AF8
tetradic
#F8FF8A #8AFFCC #918AFF #FF8ABE
square
#F8FF8A #8AFFCC #918AFF #FF8ABE
split-complementary
#F8FF8A #8ABEFF #CC8AFF
monochromatic
#F1FF10 #F4FF4D #F8FF8A #FCFFC7 #FDFFE0

Accessibility & contrast

On white

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

On black

19.66
#F8FF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FF8A
19.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FF8A#FFFFFF#000000##000000
##F8FF8A1.001.0719.6619.66
#FFFFFF1.071.0021.0021.00
#00000019.6621.001.001.00
##00000019.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF680
Deuteranopia (green-blind)
#FFF990
Tritanopia (blue-blind)
#FFF3E4
Achromatopsia (no color)
#F7F7F7

Design tokens & code

CSS
--color: #f8ff8a;
/* rgb */ color: rgb(248, 255, 138);
/* oklch */ color: oklch(97.1% 0.141 111.8);
Tailwind
colors: {
  custom: {
    50: '#fcffae',
    500: '#f8ff8a',
    950: '#000000',
  },
}
SCSS
$custom: #f8ff8a;
$custom-light: #fcffae;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ff8a",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 138
  },
  "hsl": {
    "h": 63.59,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.97079,
    "c": 0.14081,
    "h": 111.8
  },
  "luminance": 0.93311
}

Semantic roles & 50–950 ramp

primary
#F8FF8A
secondary
#564EE0
accent
#00E60E
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181710
muted
#868581

Preview Lab

Preview with #F8FF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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