#F9E56F#F9E56F

#F9E56F is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.5% C 0.140 H 99.8°. Best body text is #000000 at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#F9E56F
RGBrgb(249, 229, 111)
HSLhsl(51, 92%, 71%)
HSVhsv(51, 55%, 98%)
CMYKcmyk(0%, 8%, 55.4%, 2.4%)
CIE-LABlab(90.47, -7.49, 59.06)
CIE-LCHlch(90.47, 59.53, 97.23°)
OKLaboklab(91.53% -0.0238 0.1377)
OKLCHoklch(91.53% 0.14 99.8)
XYZxyz(69.9580, 77.3288, 26.2768)
Luminance0.7733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E56F #6F83F9
analogous
#F9A06F #F9E56F #C8F96F
triadic
#F9E56F #6FF9E5 #E56FF9
tetradic
#F9E56F #6FF9A0 #6F83F9 #F96FC8
square
#F9E56F #6FF9A0 #6F83F9 #F96FC8
split-complementary
#F9E56F #6FC8F9 #A06FF9
monochromatic
#E4C40A #F7DA34 #F9E56F #FBF0AA #FEFAE2

Accessibility & contrast

On white

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

On black

16.47
#F9E56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E56F
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E56F#FFFFFF#000000##000000
##F9E56F1.001.2816.4716.47
#FFFFFF1.281.0021.0021.00
#00000016.4721.001.001.00
##00000016.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF63
Deuteranopia (green-blind)
#FDE775
Tritanopia (blue-blind)
#FFD7CB
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e56f;
/* rgb */ color: rgb(249, 229, 111);
/* oklch */ color: oklch(91.5% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#feed9c',
    500: '#f9e56f',
    950: '#000000',
  },
}
SCSS
$custom: #f9e56f;
$custom-light: #feed9c;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e56f",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 51.304,
    "s": 92,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91531,
    "c": 0.13977,
    "h": 99.8
  },
  "luminance": 0.77326
}

Semantic roles & 50–950 ramp

primary
#F9E56F
secondary
#384FD4
accent
#21E600
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F

Preview Lab

Preview with #F9E56F

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

Preview Lab → · Contrast checker → · Palette generator →

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