#F7EE98#F7EE98

#F7EE98 is a very light, moderate yellow. Relative luminance 0.832; OKLCH L 93.7% C 0.107 H 103.1°. Best body text is #000000 at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#F7EE98
RGBrgb(247, 238, 152)
HSLhsl(54, 86%, 78%)
HSVhsv(54, 38%, 97%)
CMYKcmyk(0%, 3.6%, 38.5%, 3.1%)
CIE-LABlab(93.10, -9.03, 42.71)
CIE-LCHlch(93.10, 43.66, 101.94°)
OKLaboklab(93.74% -0.0243 0.1045)
OKLCHoklch(93.74% 0.107 103.1)
XYZxyz(74.6010, 83.1921, 41.8276)
Luminance0.8319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EE98 #98A1F7
analogous
#F7BE98 #F7EE98 #D0F798
triadic
#F7EE98 #98F7EE #EE98F7
tetradic
#F7EE98 #98F7BE #98A1F7 #F798D0
square
#F7EE98 #98F7BE #98A1F7 #F798D0
split-complementary
#F7EE98 #98D0F7 #BE98F7
monochromatic
#EEDB26 #F3E55F #F7EE98 #FBF7D1 #FDFAE3

Accessibility & contrast

On white

1.19
#F7EE98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.64
#F7EE98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EE98
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EE98#FFFFFF#000000##000000
##F7EE981.001.1917.6417.64
#FFFFFF1.191.0021.0021.00
#00000017.6421.001.001.00
##00000017.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE892
Deuteranopia (green-blind)
#FFED9B
Tritanopia (blue-blind)
#FFE3D9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #f7ee98;
/* rgb */ color: rgb(247, 238, 152);
/* oklch */ color: oklch(93.7% 0.107 103.1);
Tailwind
colors: {
  custom: {
    50: '#fbf3b7',
    500: '#f7ee98',
    950: '#000000',
  },
}
SCSS
$custom: #f7ee98;
$custom-light: #fbf3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ee98",
  "rgb": {
    "r": 247,
    "g": 238,
    "b": 152
  },
  "hsl": {
    "h": 54.316,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.93735,
    "c": 0.1073,
    "h": 103.1
  },
  "luminance": 0.8319
}

Semantic roles & 50–950 ramp

primary
#F7EE98
secondary
#5D68D6
accent
#19E203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181711
muted
#868581

Preview Lab

Preview with #F7EE98

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

Preview Lab → · Contrast checker → · Palette generator →

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