#F9E55A#F9E55A

#F9E55A is a very light, vivid yellow. Relative luminance 0.769; OKLCH L 91.3% C 0.157 H 101.1°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#F9E55A
RGBrgb(249, 229, 90)
HSLhsl(52, 93%, 66%)
HSVhsv(52, 64%, 98%)
CMYKcmyk(0%, 8%, 63.9%, 2.4%)
CIE-LABlab(90.28, -8.89, 67.90)
CIE-LCHlch(90.28, 68.48, 97.46°)
OKLaboklab(91.32% -0.0302 0.1539)
OKLCHoklch(91.32% 0.157 101.1)
XYZxyz(68.9345, 76.9195, 20.8867)
Luminance0.7692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E55A #5A6EF9
analogous
#F9965A #F9E55A #BEF95A
triadic
#F9E55A #5AF9E5 #E55AF9
tetradic
#F9E55A #5AF996 #5A6EF9 #F95ABE
square
#F9E55A #5AF996 #5A6EF9 #F95ABE
split-complementary
#F9E55A #5ABEF9 #965AF9
monochromatic
#D1B808 #F7DC1F #F9E55A #FBEE95 #FDF8D0

Accessibility & contrast

On white

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

On black

16.38
#F9E55A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E55A
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E55A#FFFFFF#000000##000000
##F9E55A1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DF49
Deuteranopia (green-blind)
#FFE762
Tritanopia (blue-blind)
#FFD6C8
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #f9e55a;
/* rgb */ color: rgb(249, 229, 90);
/* oklch */ color: oklch(91.3% 0.157 101.1);
Tailwind
colors: {
  custom: {
    50: '#ffec8f',
    500: '#f9e55a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e55a;
$custom-light: #ffec8f;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e55a",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 90
  },
  "hsl": {
    "h": 52.453,
    "s": 92.982,
    "l": 66.471
  },
  "oklch": {
    "l": 0.91321,
    "c": 0.15685,
    "h": 101.1
  },
  "luminance": 0.76917
}

Semantic roles & 50–950 ramp

primary
#F9E55A
secondary
#2B3FCC
accent
#1DE600
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#18160D
muted
#86847F

Preview Lab

Preview with #F9E55A

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

Preview Lab → · Contrast checker → · Palette generator →

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