#F9E57A#F9E57A

#F9E57A is a very light, vivid yellow. Relative luminance 0.776; OKLCH L 91.7% C 0.130 H 98.9°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#F9E57A
RGBrgb(249, 229, 122)
HSLhsl(51, 91%, 73%)
HSVhsv(51, 51%, 98%)
CMYKcmyk(0%, 8%, 51%, 2.4%)
CIE-LABlab(90.59, -6.62, 54.12)
CIE-LCHlch(90.59, 54.52, 96.97°)
OKLaboklab(91.66% -0.0201 0.1281)
OKLCHoklch(91.66% 0.13 98.9)
XYZxyz(70.6013, 77.5862, 29.6653)
Luminance0.7758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E57A #7A8EF9
analogous
#F9A57A #F9E57A #CEF97A
triadic
#F9E57A #7AF9E5 #E57AF9
tetradic
#F9E57A #7AF9A5 #7A8EF9 #F97ACE
square
#F9E57A #7AF9A5 #7A8EF9 #F97ACE
split-complementary
#F9E57A #7ACEF9 #A57AF9
monochromatic
#EECA0B #F6DA3F #F9E57A #FCF0B5 #FEF9E2

Accessibility & contrast

On white

1.27
#F9E57A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.52
#F9E57A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E57A
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E57A#FFFFFF#000000##000000
##F9E57A1.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E070
Deuteranopia (green-blind)
#FDE77F
Tritanopia (blue-blind)
#FFD8CC
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #f9e57a;
/* rgb */ color: rgb(249, 229, 122);
/* oklch */ color: oklch(91.7% 0.130 98.9);
Tailwind
colors: {
  custom: {
    50: '#feeda3',
    500: '#f9e57a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e57a;
$custom-light: #feeda3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e57a",
  "rgb": {
    "r": 249,
    "g": 229,
    "b": 122
  },
  "hsl": {
    "h": 50.551,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.91662,
    "c": 0.12965,
    "h": 98.9
  },
  "luminance": 0.77584
}

Semantic roles & 50–950 ramp

primary
#F9E57A
secondary
#4259D5
accent
#24E600
background
#FFFEFC
surface
#FFFDF6
border
#D7D5D0
text
#18160F
muted
#868480

Preview Lab

Preview with #F9E57A

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

Preview Lab → · Contrast checker → · Palette generator →

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