#F9E778#F9E778

#F9E778 is a very light, vivid yellow. Relative luminance 0.786; OKLCH L 92.0% C 0.133 H 100.2°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#F9E778
RGBrgb(249, 231, 120)
HSLhsl(52, 91%, 72%)
HSVhsv(52, 52%, 98%)
CMYKcmyk(0%, 7.2%, 51.8%, 2.4%)
CIE-LABlab(91.08, -7.79, 55.63)
CIE-LCHlch(91.08, 56.17, 97.97°)
OKLaboklab(92.04% -0.0237 0.1312)
OKLCHoklch(92.04% 0.133 100.2)
XYZxyz(71.0353, 78.6502, 29.2049)
Luminance0.7865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E778 #788AF9
analogous
#F9A778 #F9E778 #CAF978
triadic
#F9E778 #78F9E7 #E778F9
tetradic
#F9E778 #78F9A7 #788AF9 #F978CA
square
#F9E778 #78F9A7 #788AF9 #F978CA
split-complementary
#F9E778 #78CAF9 #A778F9
monochromatic
#ECCD0A #F6DD3D #F9E778 #FCF1B3 #FEFAE2

Accessibility & contrast

On white

1.26
#F9E778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.73
#F9E778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E778
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E778#FFFFFF#000000##000000
##F9E7781.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E16E
Deuteranopia (green-blind)
#FEE97D
Tritanopia (blue-blind)
#FFD9CE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #f9e778;
/* rgb */ color: rgb(249, 231, 120);
/* oklch */ color: oklch(92.0% 0.133 100.2);
Tailwind
colors: {
  custom: {
    50: '#feeea2',
    500: '#f9e778',
    950: '#000000',
  },
}
SCSS
$custom: #f9e778;
$custom-light: #feeea2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e778",
  "rgb": {
    "r": 249,
    "g": 231,
    "b": 120
  },
  "hsl": {
    "h": 51.628,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92039,
    "c": 0.13332,
    "h": 100.2
  },
  "luminance": 0.78648
}

Semantic roles & 50–950 ramp

primary
#F9E778
secondary
#4055D5
accent
#20E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E778

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

Preview Lab → · Contrast checker → · Palette generator →

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