#F9E47B#F9E47B

#F9E47B is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.5% C 0.128 H 98.3°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#F9E47B
RGBrgb(249, 228, 123)
HSLhsl(50, 91%, 73%)
HSVhsv(50, 51%, 98%)
CMYKcmyk(0%, 8.4%, 50.6%, 2.4%)
CIE-LABlab(90.35, -6.04, 53.36)
CIE-LCHlch(90.35, 53.70, 96.45°)
OKLaboklab(91.47% -0.0184 0.1265)
OKLCHoklch(91.47% 0.128 98.3)
XYZxyz(70.3877, 77.0593, 29.9013)
Luminance0.7706 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E47B #7B90F9
analogous
#F9A57B #F9E47B #CFF97B
triadic
#F9E47B #7BF9E4 #E47BF9
tetradic
#F9E47B #7BF9A5 #7B90F9 #F97BCF
square
#F9E47B #7BF9A5 #7B90F9 #F97BCF
split-complementary
#F9E47B #7BCFF9 #A57BF9
monochromatic
#EFC90B #F6D840 #F9E47B #FCF0B6 #FEF9E2

Accessibility & contrast

On white

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

On black

16.41
#F9E47B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E47B
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E47B#FFFFFF#000000##000000
##F9E47B1.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9e47b;
/* rgb */ color: rgb(249, 228, 123);
/* oklch */ color: oklch(91.5% 0.128 98.3);
Tailwind
colors: {
  custom: {
    50: '#fdeca3',
    500: '#f9e47b',
    950: '#000000',
  },
}
SCSS
$custom: #f9e47b;
$custom-light: #fdeca3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e47b",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 123
  },
  "hsl": {
    "h": 50,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.91474,
    "c": 0.12783,
    "h": 98.3
  },
  "luminance": 0.77057
}

Semantic roles & 50–950 ramp

primary
#F9E47B
secondary
#435BD6
accent
#26E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E47B

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

Preview Lab → · Contrast checker → · Palette generator →

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