#F9E793#F9E793

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

Color values

HEX#F9E793
RGBrgb(249, 231, 147)
HSLhsl(49, 89%, 78%)
HSVhsv(49, 41%, 98%)
CMYKcmyk(0%, 7.2%, 41%, 2.4%)
CIE-LABlab(91.42, -5.29, 43.06)
CIE-LCHlch(91.42, 43.39, 97.00°)
OKLaboklab(92.42% -0.014 0.1051)
OKLCHoklch(92.42% 0.106 97.6)
XYZxyz(72.9109, 79.4005, 39.0833)
Luminance0.7940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E793 #93A5F9
analogous
#F9B493 #F9E793 #D8F993
triadic
#F9E793 #93F9E7 #E793F9
tetradic
#F9E793 #93F9B4 #93A5F9 #F993D8
square
#F9E793 #93F9B4 #93A5F9 #F993D8
split-complementary
#F9E793 #93D8F9 #B493F9
monochromatic
#F3CD1F #F6DA59 #F9E793 #FCF4CD #FDF9E2

Accessibility & contrast

On white

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

On black

16.88
#F9E793 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E793
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E793#FFFFFF#000000##000000
##F9E7931.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E38D
Deuteranopia (green-blind)
#FCE996
Tritanopia (blue-blind)
#FFDCD2
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f9e793;
/* rgb */ color: rgb(249, 231, 147);
/* oklch */ color: oklch(92.4% 0.106 97.6);
Tailwind
colors: {
  custom: {
    50: '#fdeeb4',
    500: '#f9e793',
    950: '#000000',
  },
}
SCSS
$custom: #f9e793;
$custom-light: #fdeeb4;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e793",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 147
  },
  "hsl": {
    "h": 49.412,
    "s": 89.474,
    "l": 77.647
  },
  "oklch": {
    "l": 0.92418,
    "c": 0.10598,
    "h": 97.6
  },
  "luminance": 0.79398
}

Semantic roles & 50–950 ramp

primary
#F9E793
secondary
#586ED9
accent
#28E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F9E793

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

Preview Lab → · Contrast checker → · Palette generator →

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