#F8FFAE#F8FFAE

#F8FFAE is a very light, moderate yellow. Relative luminance 0.945; OKLCH L 97.6% C 0.102 H 112.3°. Best body text is #000000 at 19.91:1 contrast (WCAG AA passes).

Color values

HEX#F8FFAE
RGBrgb(248, 255, 174)
HSLhsl(65, 100%, 84%)
HSVhsv(65, 32%, 100%)
CMYKcmyk(2.7%, 0%, 31.8%, 0%)
CIE-LABlab(97.85, -14.52, 38.02)
CIE-LCHlch(97.85, 40.70, 110.90°)
OKLaboklab(97.63% -0.0387 0.0944)
OKLCHoklch(97.63% 0.102 112.3)
XYZxyz(82.1116, 94.5335, 53.9573)
Luminance0.9453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFAE #B5AEFF
analogous
#FFDEAE #F8FFAE #D0FFAE
triadic
#F8FFAE #AEF8FF #FFAEF8
tetradic
#F8FFAE #AEFFDE #B5AEFF #FFAED0
square
#F8FFAE #AEFFDE #B5AEFF #FFAED0
split-complementary
#F8FFAE #AED0FF #DEAEFF
monochromatic
#EDFF34 #F3FF71 #F8FFAE #FCFFE0 #FCFFE0

Accessibility & contrast

On white

1.05
#F8FFAE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.91
#F8FFAE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FFAE
19.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FFAE#FFFFFF#000000##000000
##F8FFAE1.001.0519.9119.91
#FFFFFF1.051.0021.0021.00
#00000019.9121.001.001.00
##00000019.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF8A8
Deuteranopia (green-blind)
#FFFAB1
Tritanopia (blue-blind)
#FFF6EA
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #f8ffae;
/* rgb */ color: rgb(248, 255, 174);
/* oklch */ color: oklch(97.6% 0.102 112.3);
Tailwind
colors: {
  custom: {
    50: '#fbffc7',
    500: '#f8ffae',
    950: '#000000',
  },
}
SCSS
$custom: #f8ffae;
$custom-light: #fbffc7;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ffae",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 174
  },
  "hsl": {
    "h": 65.185,
    "s": 100,
    "l": 84.118
  },
  "oklch": {
    "l": 0.97631,
    "c": 0.10205,
    "h": 112.3
  },
  "luminance": 0.94532
}

Semantic roles & 50–950 ramp

primary
#F8FFAE
secondary
#776CE5
accent
#00E614
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F8FFAE

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

Preview Lab → · Contrast checker → · Palette generator →

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