#F7E976#F7E976

#F7E976 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.2% C 0.137 H 102.4°. Best body text is #000000 at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#F7E976
RGBrgb(247, 233, 118)
HSLhsl(53, 89%, 72%)
HSVhsv(53, 52%, 97%)
CMYKcmyk(0%, 5.7%, 52.2%, 3.1%)
CIE-LABlab(91.40, -9.74, 56.90)
CIE-LCHlch(91.40, 57.72, 99.72°)
OKLaboklab(92.25% -0.0294 0.1338)
OKLCHoklch(92.25% 0.137 102.4)
XYZxyz(70.7689, 79.3624, 28.7267)
Luminance0.7936 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E976 #7684F7
analogous
#F7A976 #F7E976 #C5F776
triadic
#F7E976 #76F7E9 #E976F7
tetradic
#F7E976 #76F7A9 #7684F7 #F776C5
square
#F7E976 #76F7A9 #7684F7 #F776C5
split-complementary
#F7E976 #76C5F7 #A976F7
monochromatic
#E5CE0D #F4E03C #F7E976 #FAF2B0 #FDFAE2

Accessibility & contrast

On white

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

On black

16.87
#F7E976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E976
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E976#FFFFFF#000000##000000
##F7E9761.001.2416.8716.87
#FFFFFF1.241.0021.0021.00
#00000016.8721.001.001.00
##00000016.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE36B
Deuteranopia (green-blind)
#FFE97B
Tritanopia (blue-blind)
#FFDCCF
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e976;
/* rgb */ color: rgb(247, 233, 118);
/* oklch */ color: oklch(92.2% 0.137 102.4);
Tailwind
colors: {
  custom: {
    50: '#fcefa0',
    500: '#f7e976',
    950: '#000000',
  },
}
SCSS
$custom: #f7e976;
$custom-light: #fcefa0;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e976",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 118
  },
  "hsl": {
    "h": 53.488,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.92248,
    "c": 0.13699,
    "h": 102.4
  },
  "luminance": 0.7936
}

Semantic roles & 50–950 ramp

primary
#F7E976
secondary
#3F4FD2
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E976

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

Preview Lab → · Contrast checker → · Palette generator →

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