#F9E98E#F9E98E

#F9E98E is a very light, moderate yellow. Relative luminance 0.804; OKLCH L 92.7% C 0.113 H 99.5°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#F9E98E
RGBrgb(249, 233, 142)
HSLhsl(51, 90%, 77%)
HSVhsv(51, 43%, 98%)
CMYKcmyk(0%, 6.4%, 43%, 2.4%)
CIE-LABlab(91.85, -6.80, 46.07)
CIE-LCHlch(91.85, 46.57, 98.39°)
OKLaboklab(92.74% -0.0187 0.1116)
OKLCHoklch(92.74% 0.113 99.5)
XYZxyz(73.0900, 80.3729, 37.2493)
Luminance0.8037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9E98E #8E9EF9
analogous
#F9B48E #F9E98E #D4F98E
triadic
#F9E98E #8EF9E9 #E98EF9
tetradic
#F9E98E #8EF9B4 #8E9EF9 #F98ED4
square
#F9E98E #8EF9B4 #8E9EF9 #F98ED4
split-complementary
#F9E98E #8ED4F9 #B48EF9
monochromatic
#F3D21A #F6DE54 #F9E98E #FCF4C8 #FDF9E2

Accessibility & contrast

On white

1.23
#F9E98E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.07
#F9E98E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9E98E
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9E98E#FFFFFF#000000##000000
##F9E98E1.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E487
Deuteranopia (green-blind)
#FEEA92
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #f9e98e;
/* rgb */ color: rgb(249, 233, 142);
/* oklch */ color: oklch(92.7% 0.113 99.5);
Tailwind
colors: {
  custom: {
    50: '#fdefb0',
    500: '#f9e98e',
    950: '#000000',
  },
}
SCSS
$custom: #f9e98e;
$custom-light: #fdefb0;
$custom-dark: #000000;
JSON
{
  "hex": "#f9e98e",
  "rgb": {
    "r": 249,
    "g": 233,
    "b": 142
  },
  "hsl": {
    "h": 51.028,
    "s": 89.916,
    "l": 76.667
  },
  "oklch": {
    "l": 0.92742,
    "c": 0.11318,
    "h": 99.5
  },
  "luminance": 0.80371
}

Semantic roles & 50–950 ramp

primary
#F9E98E
secondary
#5367D8
accent
#22E600
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181611
muted
#868581

Preview Lab

Preview with #F9E98E

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

Preview Lab → · Contrast checker → · Palette generator →

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