#F9EA98#F9EA98

#F9EA98 is a very light, moderate yellow. Relative luminance 0.813; OKLCH L 93.1% C 0.103 H 99.1°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#F9EA98
RGBrgb(249, 234, 152)
HSLhsl(51, 89%, 79%)
HSVhsv(51, 39%, 98%)
CMYKcmyk(0%, 6%, 39%, 2.4%)
CIE-LABlab(92.24, -6.27, 41.65)
CIE-LCHlch(92.24, 42.12, 98.56°)
OKLaboklab(93.1% -0.0164 0.1021)
OKLCHoklch(93.1% 0.103 99.1)
XYZxyz(74.1587, 81.2546, 41.4769)
Luminance0.8125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA98 #98A7F9
analogous
#F9B998 #F9EA98 #D7F998
triadic
#F9EA98 #98F9EA #EA98F9
tetradic
#F9EA98 #98F9B9 #98A7F9 #F998D7
square
#F9EA98 #98F9B9 #98A7F9 #F998D7
split-complementary
#F9EA98 #98D7F9 #B998F9
monochromatic
#F2D224 #F6DE5E #F9EA98 #FCF6D2 #FDF9E2

Accessibility & contrast

On white

1.22
#F9EA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.25
#F9EA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA98
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA98#FFFFFF#000000##000000
##F9EA981.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E592
Deuteranopia (green-blind)
#FDEB9B
Tritanopia (blue-blind)
#FFDFD5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #f9ea98;
/* rgb */ color: rgb(249, 234, 152);
/* oklch */ color: oklch(93.1% 0.103 99.1);
Tailwind
colors: {
  custom: {
    50: '#fcf0b7',
    500: '#f9ea98',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea98;
$custom-light: #fcf0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea98",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 152
  },
  "hsl": {
    "h": 50.722,
    "s": 88.991,
    "l": 78.627
  },
  "oklch": {
    "l": 0.93098,
    "c": 0.10336,
    "h": 99.1
  },
  "luminance": 0.81252
}

Semantic roles & 50–950 ramp

primary
#F9EA98
secondary
#5C6FD9
accent
#23E600
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F9EA98

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

Preview Lab → · Contrast checker → · Palette generator →

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