#F9E47F#F9E47F

#F9E47F is a very light, vivid yellow. Relative luminance 0.772; OKLCH L 91.5% C 0.124 H 97.9°. Best body text is #000000 at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#F9E47F
RGBrgb(249, 228, 127)
HSLhsl(50, 91%, 74%)
HSVhsv(50, 49%, 98%)
CMYKcmyk(0%, 8.4%, 49%, 2.4%)
CIE-LABlab(90.40, -5.69, 51.52)
CIE-LCHlch(90.40, 51.83, 96.30°)
OKLaboklab(91.53% -0.0169 0.1228)
OKLCHoklch(91.53% 0.124 97.9)
XYZxyz(70.6433, 77.1615, 31.2471)
Luminance0.7716 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E47F #7F94F9
analogous
#F9A77F #F9E47F #D1F97F
triadic
#F9E47F #7FF9E4 #E47FF9
tetradic
#F9E47F #7FF9A7 #7F94F9 #F97FD1
square
#F9E47F #7FF9A7 #7F94F9 #F97FD1
split-complementary
#F9E47F #7FD1F9 #A77FF9
monochromatic
#F2CA0B #F6D845 #F9E47F #FCF0B9 #FEF9E2

Accessibility & contrast

On white

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

On black

16.43
#F9E47F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E47F
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E47F#FFFFFF#000000##000000
##F9E47F1.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF76
Deuteranopia (green-blind)
#FBE783
Tritanopia (blue-blind)
#FFD7CC
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e47f;
/* rgb */ color: rgb(249, 228, 127);
/* oklch */ color: oklch(91.5% 0.124 97.9);
Tailwind
colors: {
  custom: {
    50: '#fdeca6',
    500: '#f9e47f',
    950: '#000000',
  },
}
SCSS
$custom: #f9e47f;
$custom-light: #fdeca6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e47f",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 127
  },
  "hsl": {
    "h": 49.672,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.91527,
    "c": 0.12393,
    "h": 97.9
  },
  "luminance": 0.77159
}

Semantic roles & 50–950 ramp

primary
#F9E47F
secondary
#465FD6
accent
#28E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E47F

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

Preview Lab → · Contrast checker → · Palette generator →

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