#F7E977#F7E977

#F7E977 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 92.3% C 0.136 H 102.3°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#F7E977
RGBrgb(247, 233, 119)
HSLhsl(53, 89%, 72%)
HSVhsv(53, 52%, 97%)
CMYKcmyk(0%, 5.7%, 51.8%, 3.1%)
CIE-LABlab(91.41, -9.66, 56.45)
CIE-LCHlch(91.41, 57.27, 99.71°)
OKLaboklab(92.26% -0.0291 0.1329)
OKLCHoklch(92.26% 0.136 102.3)
XYZxyz(70.8286, 79.3863, 29.0413)
Luminance0.7938 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E977 #7785F7
analogous
#F7A977 #F7E977 #C5F777
triadic
#F7E977 #77F7E9 #E977F7
tetradic
#F7E977 #77F7A9 #7785F7 #F777C5
square
#F7E977 #77F7A9 #7785F7 #F777C5
split-complementary
#F7E977 #77C5F7 #A977F7
monochromatic
#E6CE0E #F4E03D #F7E977 #FAF2B1 #FDFAE2

Accessibility & contrast

On white

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

On black

16.88
#F7E977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E977
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E977#FFFFFF#000000##000000
##F7E9771.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #f7e977;
/* rgb */ color: rgb(247, 233, 119);
/* oklch */ color: oklch(92.3% 0.136 102.3);
Tailwind
colors: {
  custom: {
    50: '#fcefa1',
    500: '#f7e977',
    950: '#000000',
  },
}
SCSS
$custom: #f7e977;
$custom-light: #fcefa1;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e977",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 119
  },
  "hsl": {
    "h": 53.438,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.9226,
    "c": 0.13606,
    "h": 102.3
  },
  "luminance": 0.79384
}

Semantic roles & 50–950 ramp

primary
#F7E977
secondary
#4050D2
accent
#19E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E977

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

Preview Lab → · Contrast checker → · Palette generator →

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