#F9F792#F9F792

#F9F792 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.6% C 0.123 H 107.5°. Best body text is #000000 at 18.75:1 contrast (WCAG AA passes).

Color values

HEX#F9F792
RGBrgb(249, 247, 146)
HSLhsl(59, 90%, 77%)
HSVhsv(59, 41%, 98%)
CMYKcmyk(0%, 0.8%, 41.4%, 2.4%)
CIE-LABlab(95.47, -13.33, 48.67)
CIE-LCHlch(95.47, 50.47, 105.31°)
OKLaboklab(95.63% -0.0372 0.1177)
OKLCHoklch(95.63% 0.123 107.5)
XYZxyz(77.5173, 88.7383, 40.2333)
Luminance0.8874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F792 #9294F9
analogous
#F9C492 #F9F792 #C7F992
triadic
#F9F792 #92F9F7 #F792F9
tetradic
#F9F792 #92F9C4 #9294F9 #F992C7
square
#F9F792 #92F9C4 #9294F9 #F992C7
split-complementary
#F9F792 #92C7F9 #C492F9
monochromatic
#F3EE1E #F6F358 #F9F792 #FCFBCC #FDFDE2

Accessibility & contrast

On white

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

On black

18.75
#F9F792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F792
18.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F792#FFFFFF#000000##000000
##F9F7921.001.1218.7518.75
#FFFFFF1.121.0021.0021.00
#00000018.7521.001.001.00
##00000018.7521.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: #f9f792;
/* rgb */ color: rgb(249, 247, 146);
/* oklch */ color: oklch(95.6% 0.123 107.5);
Tailwind
colors: {
  custom: {
    50: '#fdf9b3',
    500: '#f9f792',
    950: '#000000',
  },
}
SCSS
$custom: #f9f792;
$custom-light: #fdf9b3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f792",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 146
  },
  "hsl": {
    "h": 58.835,
    "s": 89.565,
    "l": 77.451
  },
  "oklch": {
    "l": 0.9563,
    "c": 0.12343,
    "h": 107.5
  },
  "luminance": 0.88737
}

Semantic roles & 50–950 ramp

primary
#F9F792
secondary
#5759D8
accent
#04E600
background
#FFFFFD
surface
#FFFFF8
border
#D7D7D1
text
#181711
muted
#868581

Preview Lab

Preview with #F9F792

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

Preview Lab → · Contrast checker → · Palette generator →

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