#F9E97A#F9E97A

#F9E97A is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.5% C 0.133 H 101.2°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#F9E97A
RGBrgb(249, 233, 122)
HSLhsl(52, 91%, 73%)
HSVhsv(52, 51%, 98%)
CMYKcmyk(0%, 6.4%, 51%, 2.4%)
CIE-LABlab(91.61, -8.62, 55.33)
CIE-LCHlch(91.61, 56.00, 98.85°)
OKLaboklab(92.47% -0.0259 0.1307)
OKLCHoklch(92.47% 0.133 101.2)
XYZxyz(71.7209, 79.8252, 30.0384)
Luminance0.7982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E97A #7A8AF9
analogous
#F9A97A #F9E97A #C9F97A
triadic
#F9E97A #7AF9E9 #E97AF9
tetradic
#F9E97A #7AF9A9 #7A8AF9 #F97AC9
square
#F9E97A #7AF9A9 #7A8AF9 #F97AC9
split-complementary
#F9E97A #7AC9F9 #A97AF9
monochromatic
#EED10B #F6DF3F #F9E97A #FCF3B5 #FEFAE2

Accessibility & contrast

On white

1.24
#F9E97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#F9E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E97A
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E97A#FFFFFF#000000##000000
##F9E97A1.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE370
Deuteranopia (green-blind)
#FFEA7F
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f9e97a;
/* rgb */ color: rgb(249, 233, 122);
/* oklch */ color: oklch(92.5% 0.133 101.2);
Tailwind
colors: {
  custom: {
    50: '#fdefa3',
    500: '#f9e97a',
    950: '#000000',
  },
}
SCSS
$custom: #f9e97a;
$custom-light: #fdefa3;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e97a",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 52.441,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92467,
    "c": 0.13326,
    "h": 101.2
  },
  "luminance": 0.79823
}

Semantic roles & 50–950 ramp

primary
#F9E97A
secondary
#4254D5
accent
#1DE600
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F9E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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