#F9F378#F9F378

#F9F378 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.5% C 0.145 H 106.3°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#F9F378
RGBrgb(249, 243, 120)
HSLhsl(57, 91%, 72%)
HSVhsv(57, 52%, 98%)
CMYKcmyk(0%, 2.4%, 51.8%, 2.4%)
CIE-LABlab(94.14, -13.72, 59.23)
CIE-LCHlch(94.14, 60.80, 103.04°)
OKLaboklab(94.47% -0.0407 0.139)
OKLCHoklch(94.47% 0.145 106.3)
XYZxyz(74.5097, 85.5991, 30.3630)
Luminance0.8560 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9F378 #787EF9
analogous
#F9B278 #F9F378 #BFF978
triadic
#F9F378 #78F9F3 #F378F9
tetradic
#F9F378 #78F9B2 #787EF9 #F978BF
square
#F9F378 #78F9B2 #787EF9 #F978BF
split-complementary
#F9F378 #78BFF9 #B278F9
monochromatic
#ECE20A #F6EE3D #F9F378 #FCF8B3 #FEFCE2

Accessibility & contrast

On white

1.16
#F9F378 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#F9F378 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9F378
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9F378#FFFFFF#000000##000000
##F9F3781.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB6C
Deuteranopia (green-blind)
#FFF17E
Tritanopia (blue-blind)
#FFE6D7
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #f9f378;
/* rgb */ color: rgb(249, 243, 120);
/* oklch */ color: oklch(94.5% 0.145 106.3);
Tailwind
colors: {
  custom: {
    50: '#fef6a2',
    500: '#f9f378',
    950: '#000000',
  },
}
SCSS
$custom: #f9f378;
$custom-light: #fef6a2;
$custom-dark: #000000;
JSON
{
  "hex": "#f9f378",
  "rgb": {
    "r": 249,
    "g": 243,
    "b": 120
  },
  "hsl": {
    "h": 57.209,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94473,
    "c": 0.14486,
    "h": 106.3
  },
  "luminance": 0.85597
}

Semantic roles & 50–950 ramp

primary
#F9F378
secondary
#4047D5
accent
#0BE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18170F
muted
#868580

Preview Lab

Preview with #F9F378

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

Preview Lab → · Contrast checker → · Palette generator →

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