#F8FFAA#F8FFAA

#F8FFAA is a very light, moderate yellow. Relative luminance 0.944; OKLCH L 97.6% C 0.107 H 112.2°. Best body text is #000000 at 19.88:1 contrast (WCAG AA passes).

Color values

HEX#F8FFAA
RGBrgb(248, 255, 170)
HSLhsl(65, 100%, 83%)
HSVhsv(65, 33%, 100%)
CMYKcmyk(2.7%, 0%, 33.3%, 0%)
CIE-LABlab(97.78, -14.99, 39.92)
CIE-LCHlch(97.78, 42.64, 110.59°)
OKLaboklab(97.56% -0.0403 0.0987)
OKLCHoklch(97.56% 0.107 112.2)
XYZxyz(81.7275, 94.3798, 51.9342)
Luminance0.9438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8FFAA #B1AAFF
analogous
#FFDBAA #F8FFAA #CDFFAA
triadic
#F8FFAA #AAF8FF #FFAAF8
tetradic
#F8FFAA #AAFFDB #B1AAFF #FFAACD
square
#F8FFAA #AAFFDB #B1AAFF #FFAACD
split-complementary
#F8FFAA #AACDFF #DBAAFF
monochromatic
#EEFF30 #F3FF6D #F8FFAA #FCFFE0 #FCFFE0

Accessibility & contrast

On white

1.06
#F8FFAA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.88
#F8FFAA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8FFAA
19.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8FFAA#FFFFFF#000000##000000
##F8FFAA1.001.0619.8819.88
#FFFFFF1.061.0021.0021.00
#00000019.8821.001.001.00
##00000019.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7A4
Deuteranopia (green-blind)
#FFFAAE
Tritanopia (blue-blind)
#FFF5E9
Achromatopsia (no color)
#F9F9F9

Design tokens & code

CSS
--color: #f8ffaa;
/* rgb */ color: rgb(248, 255, 170);
/* oklch */ color: oklch(97.6% 0.107 112.2);
Tailwind
colors: {
  custom: {
    50: '#fbffc4',
    500: '#f8ffaa',
    950: '#000000',
  },
}
SCSS
$custom: #f8ffaa;
$custom-light: #fbffc4;
$custom-dark: #000000;
JSON
{
  "hex": "#f8ffaa",
  "rgb": {
    "r": 248,
    "g": 255,
    "b": 170
  },
  "hsl": {
    "h": 64.941,
    "s": 100,
    "l": 83.333
  },
  "oklch": {
    "l": 0.97562,
    "c": 0.10663,
    "h": 112.2
  },
  "luminance": 0.94379
}

Semantic roles & 50–950 ramp

primary
#F8FFAA
secondary
#7369E4
accent
#00E613
background
#FFFFFD
surface
#FFFFF9
border
#D7D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #F8FFAA

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

Preview Lab → · Contrast checker → · Palette generator →

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