#F8F792#F8F792

#F8F792 is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.5% C 0.124 H 108.0°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#F8F792
RGBrgb(248, 247, 146)
HSLhsl(59, 88%, 77%)
HSVhsv(59, 41%, 97%)
CMYKcmyk(0%, 0.4%, 41.1%, 2.7%)
CIE-LABlab(95.39, -13.71, 48.56)
CIE-LCHlch(95.39, 50.46, 105.77°)
OKLaboklab(95.55% -0.0382 0.1175)
OKLCHoklch(95.55% 0.124 108)
XYZxyz(77.1617, 88.5550, 40.2166)
Luminance0.8855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F8F792 #9293F8
analogous
#F8C492 #F8F792 #C6F892
triadic
#F8F792 #92F8F7 #F792F8
tetradic
#F8F792 #92F8C4 #9293F8 #F892C6
square
#F8F792 #92F8C4 #9293F8 #F892C6
split-complementary
#F8F792 #92C6F8 #C492F8
monochromatic
#F1EF1F #F4F358 #F8F792 #FCFBCC #FDFDE2

Accessibility & contrast

On white

1.12
#F8F792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.71
#F8F792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F8F792
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F8F792#FFFFFF#000000##000000
##F8F7921.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08A
Deuteranopia (green-blind)
#FFF497
Tritanopia (blue-blind)
#FFEBDF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f8f792;
/* rgb */ color: rgb(248, 247, 146);
/* oklch */ color: oklch(95.5% 0.124 108.0);
Tailwind
colors: {
  custom: {
    50: '#fcf9b3',
    500: '#f8f792',
    950: '#000000',
  },
}
SCSS
$custom: #f8f792;
$custom-light: #fcf9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f8f792",
  "rgb": {
    "r": 248,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 59.412,
    "s": 87.931,
    "l": 77.255
  },
  "oklch": {
    "l": 0.9555,
    "c": 0.12352,
    "h": 108
  },
  "luminance": 0.88553
}

Semantic roles & 50–950 ramp

primary
#F8F792
secondary
#5758D7
accent
#03E501
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F8F792

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

Preview Lab → · Contrast checker → · Palette generator →

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