#F9F78D#F9F78D

#F9F78D is a very light, vivid yellow. Relative luminance 0.886; OKLCH L 95.6% C 0.129 H 107.7°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#F9F78D
RGBrgb(249, 247, 141)
HSLhsl(59, 90%, 76%)
HSVhsv(59, 43%, 98%)
CMYKcmyk(0%, 0.8%, 43.4%, 2.4%)
CIE-LABlab(95.41, -13.82, 50.99)
CIE-LCHlch(95.41, 52.83, 105.16°)
OKLaboklab(95.56% -0.039 0.1226)
OKLCHoklch(95.56% 0.129 107.7)
XYZxyz(77.1369, 88.5861, 38.2296)
Luminance0.8858 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F78D #8D8FF9
analogous
#F9C18D #F9F78D #C5F98D
triadic
#F9F78D #8DF9F7 #F78DF9
tetradic
#F9F78D #8DF9C1 #8D8FF9 #F98DC5
square
#F9F78D #8DF9C1 #8D8FF9 #F98DC5
split-complementary
#F9F78D #8DC5F9 #C18DF9
monochromatic
#F3EF19 #F6F353 #F9F78D #FCFBC7 #FDFDE2

Accessibility & contrast

On white

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

On black

18.72
#F9F78D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F78D
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F78D#FFFFFF#000000##000000
##F9F78D1.001.1218.7218.72
#FFFFFF1.121.0021.0021.00
#00000018.7221.001.001.00
##00000018.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF84
Deuteranopia (green-blind)
#FFF492
Tritanopia (blue-blind)
#FFEBDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #f9f78d;
/* rgb */ color: rgb(249, 247, 141);
/* oklch */ color: oklch(95.6% 0.129 107.7);
Tailwind
colors: {
  custom: {
    50: '#fdf9b0',
    500: '#f9f78d',
    950: '#000000',
  },
}
SCSS
$custom: #f9f78d;
$custom-light: #fdf9b0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f78d",
  "rgb": {
    "r": 249,
    "g": 247,
    "b": 141
  },
  "hsl": {
    "h": 58.889,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.95559,
    "c": 0.12864,
    "h": 107.7
  },
  "luminance": 0.88584
}

Semantic roles & 50–950 ramp

primary
#F9F78D
secondary
#5255D8
accent
#04E600
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#181711
muted
#868581

Preview Lab

Preview with #F9F78D

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

Preview Lab → · Contrast checker → · Palette generator →

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