#F9E47A#F9E47A

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

Color values

HEX#F9E47A
RGBrgb(249, 228, 122)
HSLhsl(50, 91%, 73%)
HSVhsv(50, 51%, 98%)
CMYKcmyk(0%, 8.4%, 51%, 2.4%)
CIE-LABlab(90.34, -6.12, 53.82)
CIE-LCHlch(90.34, 54.17, 96.49°)
OKLaboklab(91.46% -0.0187 0.1274)
OKLCHoklch(91.46% 0.129 98.4)
XYZxyz(70.3254, 77.0344, 29.5733)
Luminance0.7703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E47A #7A8FF9
analogous
#F9A57A #F9E47A #CEF97A
triadic
#F9E47A #7AF9E4 #E47AF9
tetradic
#F9E47A #7AF9A5 #7A8FF9 #F97ACE
square
#F9E47A #7AF9A5 #7A8FF9 #F97ACE
split-complementary
#F9E47A #7ACEF9 #A57AF9
monochromatic
#EEC80B #F6D83F #F9E47A #FCF0B5 #FEF9E2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##F9E47A#FFFFFF#000000##000000
##F9E47A1.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)
#F6DF71
Deuteranopia (green-blind)
#FCE77F
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e47a;
/* rgb */ color: rgb(249, 228, 122);
/* oklch */ color: oklch(91.5% 0.129 98.4);
Tailwind
colors: {
  custom: {
    50: '#feeca3',
    500: '#f9e47a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e47a;
$custom-light: #feeca3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e47a",
  "rgb": {
    "r": 249,
    "g": 228,
    "b": 122
  },
  "hsl": {
    "h": 50.079,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91462,
    "c": 0.12878,
    "h": 98.4
  },
  "luminance": 0.77032
}

Semantic roles & 50–950 ramp

primary
#F9E47A
secondary
#425AD5
accent
#26E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E47A

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

Preview Lab → · Contrast checker → · Palette generator →

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