#F7EA98#F7EA98

#F7EA98 is a very light, moderate yellow. Relative luminance 0.809; OKLCH L 92.9% C 0.103 H 100.4°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#F7EA98
RGBrgb(247, 234, 152)
HSLhsl(52, 86%, 78%)
HSVhsv(52, 38%, 97%)
CMYKcmyk(0%, 5.3%, 38.5%, 3.1%)
CIE-LABlab(92.08, -7.04, 41.41)
CIE-LCHlch(92.08, 42.00, 99.65°)
OKLaboklab(92.93% -0.0185 0.1015)
OKLCHoklch(92.93% 0.103 100.4)
XYZxyz(73.4494, 80.8889, 41.4437)
Luminance0.8089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7EA98 #98A5F7
analogous
#F7BA98 #F7EA98 #D5F798
triadic
#F7EA98 #98F7EA #EA98F7
tetradic
#F7EA98 #98F7BA #98A5F7 #F798D5
square
#F7EA98 #98F7BA #98A5F7 #F798D5
split-complementary
#F7EA98 #98D5F7 #BA98F7
monochromatic
#EED326 #F3DE5F #F7EA98 #FBF6D1 #FDF9E3

Accessibility & contrast

On white

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

On black

17.18
#F7EA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7EA98
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7EA98#FFFFFF#000000##000000
##F7EA981.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7ea98;
/* rgb */ color: rgb(247, 234, 152);
/* oklch */ color: oklch(92.9% 0.103 100.4);
Tailwind
colors: {
  custom: {
    50: '#fbf0b7',
    500: '#f7ea98',
    950: '#000000',
  },
}
SCSS
$custom: #f7ea98;
$custom-light: #fbf0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#f7ea98",
  "rgb": {
    "r": 247,
    "g": 234,
    "b": 152
  },
  "hsl": {
    "h": 51.789,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.9293,
    "c": 0.10319,
    "h": 100.4
  },
  "luminance": 0.80887
}

Semantic roles & 50–950 ramp

primary
#F7EA98
secondary
#5D6DD6
accent
#22E203
background
#FFFFFD
surface
#FFFEF8
border
#D7D6D1
text
#181611
muted
#868581

Preview Lab

Preview with #F7EA98

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

Preview Lab → · Contrast checker → · Palette generator →

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