#F9E474#F9E474

#F9E474 is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.4% C 0.134 H 98.9°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F9E474
RGBrgb(249, 228, 116)
HSLhsl(51, 92%, 72%)
HSVhsv(51, 53%, 98%)
CMYKcmyk(0%, 8.4%, 53.4%, 2.4%)
CIE-LABlab(90.27, -6.61, 56.54)
CIE-LCHlch(90.27, 56.92, 96.67°)
OKLaboklab(91.39% -0.0207 0.1328)
OKLCHoklch(91.39% 0.134 98.9)
XYZxyz(69.9651, 76.8903, 27.6755)
Luminance0.7689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E474 #7489F9
analogous
#F9A274 #F9E474 #CCF974
triadic
#F9E474 #74F9E4 #E474F9
tetradic
#F9E474 #74F9A2 #7489F9 #F974CC
square
#F9E474 #74F9A2 #7489F9 #F974CC
split-complementary
#F9E474 #74CCF9 #A274F9
monochromatic
#E9C50A #F6D939 #F9E474 #FCEFAF #FEF9E2

Accessibility & contrast

On white

1.28
#F9E474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.38
#F9E474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E474
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E474#FFFFFF#000000##000000
##F9E4741.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6A
Deuteranopia (green-blind)
#FCE779
Tritanopia (blue-blind)
#FFD6CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e474;
/* rgb */ color: rgb(249, 228, 116);
/* oklch */ color: oklch(91.4% 0.134 98.9);
Tailwind
colors: {
  custom: {
    50: '#feec9f',
    500: '#f9e474',
    950: '#000000',
  },
}
SCSS
$custom: #f9e474;
$custom-light: #feec9f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e474",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 116
  },
  "hsl": {
    "h": 50.526,
    "s": 91.724,
    "l": 71.569
  },
  "oklch": {
    "l": 0.91388,
    "c": 0.13439,
    "h": 98.9
  },
  "luminance": 0.76887
}

Semantic roles & 50–950 ramp

primary
#F9E474
secondary
#3D55D5
accent
#24E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E474

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

Preview Lab → · Contrast checker → · Palette generator →

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