#F9E974#F9E974

#F9E974 is a very light, vivid yellow. Relative luminance 0.797; OKLCH L 92.4% C 0.139 H 101.6°. Best body text is #000000 at 16.94:1 contrast (WCAG AA passes).

Color values

HEX#F9E974
RGBrgb(249, 233, 116)
HSLhsl(53, 92%, 72%)
HSVhsv(53, 53%, 98%)
CMYKcmyk(0%, 6.4%, 53.4%, 2.4%)
CIE-LABlab(91.54, -9.10, 58.02)
CIE-LCHlch(91.54, 58.73, 98.92°)
OKLaboklab(92.4% -0.0279 0.136)
OKLCHoklch(92.4% 0.139 101.6)
XYZxyz(71.3605, 79.6811, 28.1406)
Luminance0.7968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E974 #7484F9
analogous
#F9A774 #F9E974 #C7F974
triadic
#F9E974 #74F9E9 #E974F9
tetradic
#F9E974 #74F9A7 #7484F9 #F974C7
square
#F9E974 #74F9A7 #7484F9 #F974C7
split-complementary
#F9E974 #74C7F9 #A774F9
monochromatic
#E9CE0A #F6E039 #F9E974 #FCF2AF #FEFAE2

Accessibility & contrast

On white

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

On black

16.94
#F9E974 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E974
16.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E974#FFFFFF#000000##000000
##F9E9741.001.2416.9416.94
#FFFFFF1.241.0021.0021.00
#00000016.9421.001.001.00
##00000016.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE369
Deuteranopia (green-blind)
#FFEA7A
Tritanopia (blue-blind)
#FFDBCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9e974;
/* rgb */ color: rgb(249, 233, 116);
/* oklch */ color: oklch(92.4% 0.139 101.6);
Tailwind
colors: {
  custom: {
    50: '#feef9f',
    500: '#f9e974',
    950: '#000000',
  },
}
SCSS
$custom: #f9e974;
$custom-light: #feef9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e974",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 116
  },
  "hsl": {
    "h": 52.782,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92395,
    "c": 0.13884,
    "h": 101.6
  },
  "luminance": 0.79679
}

Semantic roles & 50–950 ramp

primary
#F9E974
secondary
#3D4FD5
accent
#1CE600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F9E974

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

Preview Lab → · Contrast checker → · Palette generator →

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