#F8F992#F8F992

#F8F992 is a very light, vivid yellow. Relative luminance 0.898; OKLCH L 96.0% C 0.126 H 109.0°. Best body text is #000000 at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#F8F992
RGBrgb(248, 249, 146)
HSLhsl(61, 90%, 77%)
HSVhsv(61, 41%, 98%)
CMYKcmyk(0.4%, 0%, 41.4%, 2.4%)
CIE-LABlab(95.91, -14.69, 49.20)
CIE-LCHlch(95.91, 51.35, 106.62°)
OKLaboklab(95.96% -0.041 0.1189)
OKLCHoklch(95.96% 0.126 109)
XYZxyz(77.7766, 89.7847, 40.4216)
Luminance0.8978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F992 #9392F9
analogous
#F9C792 #F8F992 #C4F992
triadic
#F8F992 #92F8F9 #F992F8
tetradic
#F8F992 #92F9C7 #9392F9 #F992C4
square
#F8F992 #92F9C7 #9392F9 #F992C4
split-complementary
#F8F992 #92C4F9 #C792F9
monochromatic
#F1F31E #F4F658 #F8F992 #FCFCCC #FDFDE2

Accessibility & contrast

On white

1.11
#F8F992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.96
#F8F992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F992
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F992#FFFFFF#000000##000000
##F8F9921.001.1118.9618.96
#FFFFFF1.111.0021.0021.00
#00000018.9621.001.001.00
##00000018.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF18A
Deuteranopia (green-blind)
#FFF597
Tritanopia (blue-blind)
#FFEDE0
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #f8f992;
/* rgb */ color: rgb(248, 249, 146);
/* oklch */ color: oklch(96.0% 0.126 109.0);
Tailwind
colors: {
  custom: {
    50: '#fcfbb3',
    500: '#f8f992',
    950: '#000000',
  },
}
SCSS
$custom: #f8f992;
$custom-light: #fcfbb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f992",
  "rgb": {
    "r": 248,
    "g": 249,
    "b": 146
  },
  "hsl": {
    "h": 60.583,
    "s": 89.565,
    "l": 77.451
  },
  "oklch": {
    "l": 0.95959,
    "c": 0.12578,
    "h": 109
  },
  "luminance": 0.89783
}

Semantic roles & 50–950 ramp

primary
#F8F992
secondary
#5857D8
accent
#00E602
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F992

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

Preview Lab → · Contrast checker → · Palette generator →

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