#F9E792#F9E792

#F9E792 is a very light, moderate yellow. Relative luminance 0.794; OKLCH L 92.4% C 0.107 H 97.7°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#F9E792
RGBrgb(249, 231, 146)
HSLhsl(50, 90%, 77%)
HSVhsv(50, 41%, 98%)
CMYKcmyk(0%, 7.2%, 41.4%, 2.4%)
CIE-LABlab(91.40, -5.39, 43.54)
CIE-LCHlch(91.40, 43.87, 97.06°)
OKLaboklab(92.4% -0.0143 0.1061)
OKLCHoklch(92.4% 0.107 97.7)
XYZxyz(72.8328, 79.3693, 38.6718)
Luminance0.7937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E792 #92A4F9
analogous
#F9B492 #F9E792 #D7F992
triadic
#F9E792 #92F9E7 #E792F9
tetradic
#F9E792 #92F9B4 #92A4F9 #F992D7
square
#F9E792 #92F9B4 #92A4F9 #F992D7
split-complementary
#F9E792 #92D7F9 #B492F9
monochromatic
#F3CD1E #F6DA58 #F9E792 #FCF4CC #FDF9E2

Accessibility & contrast

On white

1.24
#F9E792 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.87
#F9E792 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E792
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E792#FFFFFF#000000##000000
##F9E7921.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E38C
Deuteranopia (green-blind)
#FCE995
Tritanopia (blue-blind)
#FFDBD2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f9e792;
/* rgb */ color: rgb(249, 231, 146);
/* oklch */ color: oklch(92.4% 0.107 97.7);
Tailwind
colors: {
  custom: {
    50: '#fdeeb3',
    500: '#f9e792',
    950: '#000000',
  },
}
SCSS
$custom: #f9e792;
$custom-light: #fdeeb3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e792",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 146
  },
  "hsl": {
    "h": 49.515,
    "s": 89.565,
    "l": 77.451
  },
  "oklch": {
    "l": 0.92403,
    "c": 0.10705,
    "h": 97.7
  },
  "luminance": 0.79367
}

Semantic roles & 50–950 ramp

primary
#F9E792
secondary
#576DD8
accent
#28E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F9E792

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

Preview Lab → · Contrast checker → · Palette generator →

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