#F9EA97#F9EA97

#F9EA97 is a very light, moderate yellow. Relative luminance 0.812; OKLCH L 93.1% C 0.104 H 99.2°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#F9EA97
RGBrgb(249, 234, 151)
HSLhsl(51, 89%, 78%)
HSVhsv(51, 39%, 98%)
CMYKcmyk(0%, 6%, 39.4%, 2.4%)
CIE-LABlab(92.23, -6.38, 42.12)
CIE-LCHlch(92.23, 42.60, 98.61°)
OKLaboklab(93.08% -0.0168 0.1031)
OKLCHoklch(93.08% 0.104 99.2)
XYZxyz(74.0771, 81.2219, 41.0474)
Luminance0.8122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F9EA97 #97A6F9
analogous
#F9B997 #F9EA97 #D7F997
triadic
#F9EA97 #97F9EA #EA97F9
tetradic
#F9EA97 #97F9B9 #97A6F9 #F997D7
square
#F9EA97 #97F9B9 #97A6F9 #F997D7
split-complementary
#F9EA97 #97D7F9 #B997F9
monochromatic
#F2D323 #F6DE5D #F9EA97 #FCF6D1 #FDF9E2

Accessibility & contrast

On white

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

On black

17.24
#F9EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F9EA97
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F9EA97#FFFFFF#000000##000000
##F9EA971.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f9ea97;
/* rgb */ color: rgb(249, 234, 151);
/* oklch */ color: oklch(93.1% 0.104 99.2);
Tailwind
colors: {
  custom: {
    50: '#fcf0b6',
    500: '#f9ea97',
    950: '#000000',
  },
}
SCSS
$custom: #f9ea97;
$custom-light: #fcf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#f9ea97",
  "rgb": {
    "r": 249,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 50.816,
    "s": 89.091,
    "l": 78.431
  },
  "oklch": {
    "l": 0.93082,
    "c": 0.10446,
    "h": 99.2
  },
  "luminance": 0.8122
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #F9EA97

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

Preview Lab → · Contrast checker → · Palette generator →

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