#F9EA78#F9EA78

#F9EA78 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.6% C 0.136 H 101.9°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#F9EA78
RGBrgb(249, 234, 120)
HSLhsl(53, 91%, 72%)
HSVhsv(53, 52%, 98%)
CMYKcmyk(0%, 6%, 51.8%, 2.4%)
CIE-LABlab(91.84, -9.28, 56.53)
CIE-LCHlch(91.84, 57.29, 99.32°)
OKLaboklab(92.65% -0.028 0.1332)
OKLCHoklch(92.65% 0.136 101.9)
XYZxyz(71.8821, 80.3439, 29.4871)
Luminance0.8034 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA78 #7887F9
analogous
#F9A978 #F9EA78 #C8F978
triadic
#F9EA78 #78F9EA #EA78F9
tetradic
#F9EA78 #78F9A9 #7887F9 #F978C8
square
#F9EA78 #78F9A9 #7887F9 #F978C8
split-complementary
#F9EA78 #78C8F9 #A978F9
monochromatic
#ECD20A #F6E13D #F9EA78 #FCF3B3 #FEFAE2

Accessibility & contrast

On white

1.23
#F9EA78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#F9EA78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA78
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA78#FFFFFF#000000##000000
##F9EA781.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE46D
Deuteranopia (green-blind)
#FFEB7D
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f9ea78;
/* rgb */ color: rgb(249, 234, 120);
/* oklch */ color: oklch(92.6% 0.136 101.9);
Tailwind
colors: {
  custom: {
    50: '#fef0a2',
    500: '#f9ea78',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea78;
$custom-light: #fef0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea78",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 120
  },
  "hsl": {
    "h": 53.023,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92645,
    "c": 0.13607,
    "h": 101.9
  },
  "luminance": 0.80341
}

Semantic roles & 50–950 ramp

primary
#F9EA78
secondary
#4051D5
accent
#1BE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9EA78

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

Preview Lab → · Contrast checker → · Palette generator →

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