#F9E46F#F9E46F

#F9E46F is a very light, vivid yellow. Relative luminance 0.768; OKLCH L 91.3% C 0.139 H 99.3°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#F9E46F
RGBrgb(249, 228, 111)
HSLhsl(51, 92%, 71%)
HSVhsv(51, 55%, 98%)
CMYKcmyk(0%, 8.4%, 55.4%, 2.4%)
CIE-LABlab(90.22, -6.99, 58.76)
CIE-LCHlch(90.22, 59.18, 96.78°)
OKLaboklab(91.33% -0.0224 0.1371)
OKLCHoklch(91.33% 0.139 99.3)
XYZxyz(69.6821, 76.7770, 26.1848)
Luminance0.7677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E46F #6F84F9
analogous
#F99F6F #F9E46F #C9F96F
triadic
#F9E46F #6FF9E4 #E46FF9
tetradic
#F9E46F #6FF99F #6F84F9 #F96FC9
square
#F9E46F #6FF99F #6F84F9 #F96FC9
split-complementary
#F9E46F #6FC9F9 #9F6FF9
monochromatic
#E4C30A #F7D934 #F9E46F #FBEFAA #FEF9E2

Accessibility & contrast

On white

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

On black

16.35
#F9E46F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E46F
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E46F#FFFFFF#000000##000000
##F9E46F1.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9e46f;
/* rgb */ color: rgb(249, 228, 111);
/* oklch */ color: oklch(91.3% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#feec9c',
    500: '#f9e46f',
    950: '#000000',
  },
}
SCSS
$custom: #f9e46f;
$custom-light: #feec9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e46f",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 111
  },
  "hsl": {
    "h": 50.87,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91329,
    "c": 0.13891,
    "h": 99.3
  },
  "luminance": 0.76774
}

Semantic roles & 50–950 ramp

primary
#F9E46F
secondary
#3850D4
accent
#23E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E46F

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

Preview Lab → · Contrast checker → · Palette generator →

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