#F7E973#F7E973

#F7E973 is a very light, vivid yellow. Relative luminance 0.793; OKLCH L 92.2% C 0.140 H 102.6°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#F7E973
RGBrgb(247, 233, 115)
HSLhsl(54, 89%, 71%)
HSVhsv(54, 53%, 97%)
CMYKcmyk(0%, 5.7%, 53.4%, 3.1%)
CIE-LABlab(91.37, -9.98, 58.23)
CIE-LCHlch(91.37, 59.08, 99.73°)
OKLaboklab(92.21% -0.0304 0.1364)
OKLCHoklch(92.21% 0.14 102.6)
XYZxyz(70.5934, 79.2922, 27.8027)
Luminance0.7929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E973 #7381F7
analogous
#F7A773 #F7E973 #C3F773
triadic
#F7E973 #73F7E9 #E973F7
tetradic
#F7E973 #73F7A7 #7381F7 #F773C3
square
#F7E973 #73F7A7 #7381F7 #F773C3
split-complementary
#F7E973 #73C3F7 #A773F7
monochromatic
#E3CC0D #F4E039 #F7E973 #FAF2AD #FDFAE2

Accessibility & contrast

On white

1.25
#F7E973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#F7E973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E973
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E973#FFFFFF#000000##000000
##F7E9731.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE268
Deuteranopia (green-blind)
#FFE979
Tritanopia (blue-blind)
#FFDBCE
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e973;
/* rgb */ color: rgb(247, 233, 115);
/* oklch */ color: oklch(92.2% 0.140 102.6);
Tailwind
colors: {
  custom: {
    50: '#fcef9e',
    500: '#f7e973',
    950: '#000000',
  },
}
SCSS
$custom: #f7e973;
$custom-light: #fcef9e;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e973",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 115
  },
  "hsl": {
    "h": 53.636,
    "s": 89.189,
    "l": 70.98
  },
  "oklch": {
    "l": 0.92213,
    "c": 0.13975,
    "h": 102.6
  },
  "luminance": 0.7929
}

Semantic roles & 50–950 ramp

primary
#F7E973
secondary
#3C4CD2
accent
#18E600
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E973

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

Preview Lab → · Contrast checker → · Palette generator →

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