#F9E473#F9E473

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

Color values

HEX#F9E473
RGBrgb(249, 228, 115)
HSLhsl(51, 92%, 71%)
HSVhsv(51, 54%, 98%)
CMYKcmyk(0%, 8.4%, 53.8%, 2.4%)
CIE-LABlab(90.26, -6.68, 56.98)
CIE-LCHlch(90.26, 57.38, 96.69°)
OKLaboklab(91.38% -0.0211 0.1337)
OKLCHoklch(91.38% 0.135 99)
XYZxyz(69.9073, 76.8671, 27.3708)
Luminance0.7686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E473 #7388F9
analogous
#F9A173 #F9E473 #CBF973
triadic
#F9E473 #73F9E4 #E473F9
tetradic
#F9E473 #73F9A1 #7388F9 #F973CB
square
#F9E473 #73F9A1 #7388F9 #F973CB
split-complementary
#F9E473 #73CBF9 #A173F9
monochromatic
#E8C50A #F6D938 #F9E473 #FCEFAE #FEF9E2

Accessibility & contrast

On white

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

On black

16.37
#F9E473 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E473
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E473#FFFFFF#000000##000000
##F9E4731.001.2816.3716.37
#FFFFFF1.281.0021.0021.00
#00000016.3721.001.001.00
##00000016.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF68
Deuteranopia (green-blind)
#FCE778
Tritanopia (blue-blind)
#FFD6CA
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e473;
/* rgb */ color: rgb(249, 228, 115);
/* oklch */ color: oklch(91.4% 0.135 99.0);
Tailwind
colors: {
  custom: {
    50: '#feec9e',
    500: '#f9e473',
    950: '#000000',
  },
}
SCSS
$custom: #f9e473;
$custom-light: #feec9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e473",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 115
  },
  "hsl": {
    "h": 50.597,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91376,
    "c": 0.13531,
    "h": 99
  },
  "luminance": 0.76864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9E473

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

Preview Lab → · Contrast checker → · Palette generator →

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