#F7E98D#F7E98D

#F7E98D is a very light, moderate yellow. Relative luminance 0.800; OKLCH L 92.6% C 0.114 H 100.7°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#F7E98D
RGBrgb(247, 233, 141)
HSLhsl(52, 87%, 76%)
HSVhsv(52, 43%, 97%)
CMYKcmyk(0%, 5.7%, 42.9%, 3.1%)
CIE-LABlab(91.67, -7.68, 46.30)
CIE-LCHlch(91.67, 46.94, 99.41°)
OKLaboklab(92.56% -0.0213 0.1121)
OKLCHoklch(92.56% 0.114 100.7)
XYZxyz(72.3060, 79.9773, 36.8225)
Luminance0.7997 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E98D #8D9BF7
analogous
#F7B48D #F7E98D #D0F78D
triadic
#F7E98D #8DF7E9 #E98DF7
tetradic
#F7E98D #8DF7B4 #8D9BF7 #F78DD0
square
#F7E98D #8DF7B4 #8D9BF7 #F78DD0
split-complementary
#F7E98D #8DD0F7 #B48DF7
monochromatic
#EFD31B #F3DE54 #F7E98D #FBF4C6 #FDF9E2

Accessibility & contrast

On white

1.24
#F7E98D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#F7E98D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E98D
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E98D#FFFFFF#000000##000000
##F7E98D1.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E486
Deuteranopia (green-blind)
#FDEA91
Tritanopia (blue-blind)
#FFDDD3
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #f7e98d;
/* rgb */ color: rgb(247, 233, 141);
/* oklch */ color: oklch(92.6% 0.114 100.7);
Tailwind
colors: {
  custom: {
    50: '#fbefb0',
    500: '#f7e98d',
    950: '#000000',
  },
}
SCSS
$custom: #f7e98d;
$custom-light: #fbefb0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e98d",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 141
  },
  "hsl": {
    "h": 52.075,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.92557,
    "c": 0.11411,
    "h": 100.7
  },
  "luminance": 0.79975
}

Semantic roles & 50–950 ramp

primary
#F7E98D
secondary
#5364D5
accent
#20E302
background
#FFFFFD
surface
#FFFEF7
border
#D7D6D0
text
#181610
muted
#868581

Preview Lab

Preview with #F7E98D

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

Preview Lab → · Contrast checker → · Palette generator →

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