#F7E97C#F7E97C

#F7E97C is a very light, vivid yellow. Relative luminance 0.795; OKLCH L 92.3% C 0.131 H 102.0°. Best body text is #000000 at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#F7E97C
RGBrgb(247, 233, 124)
HSLhsl(53, 88%, 73%)
HSVhsv(53, 50%, 97%)
CMYKcmyk(0%, 5.7%, 49.8%, 3.1%)
CIE-LABlab(91.46, -9.24, 54.19)
CIE-LCHlch(91.46, 54.97, 99.68°)
OKLaboklab(92.32% -0.0274 0.1284)
OKLCHoklch(92.32% 0.131 102)
XYZxyz(71.1368, 79.5096, 30.6646)
Luminance0.7951 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#F7E97C #7C8AF7
analogous
#F7AC7C #F7E97C #C7F77C
triadic
#F7E97C #7CF7E9 #E97CF7
tetradic
#F7E97C #7CF7AC #7C8AF7 #F77CC7
square
#F7E97C #7CF7AC #7C8AF7 #F77CC7
split-complementary
#F7E97C #7CC7F7 #AC7CF7
monochromatic
#EAD10E #F3DF42 #F7E97C #FBF3B6 #FDFAE2

Accessibility & contrast

On white

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

On black

16.90
#F7E97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #F7E97C
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##F7E97C#FFFFFF#000000##000000
##F7E97C1.001.2416.9016.90
#FFFFFF1.241.0021.0021.00
#00000016.9021.001.001.00
##00000016.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE372
Deuteranopia (green-blind)
#FFE981
Tritanopia (blue-blind)
#FFDCD0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #f7e97c;
/* rgb */ color: rgb(247, 233, 124);
/* oklch */ color: oklch(92.3% 0.131 102.0);
Tailwind
colors: {
  custom: {
    50: '#fcefa4',
    500: '#f7e97c',
    950: '#000000',
  },
}
SCSS
$custom: #f7e97c;
$custom-light: #fcefa4;
$custom-dark: #000000;
JSON
{
  "hex": "#f7e97c",
  "rgb": {
    "r": 247,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 53.171,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92322,
    "c": 0.13131,
    "h": 102
  },
  "luminance": 0.79507
}

Semantic roles & 50–950 ramp

primary
#F7E97C
secondary
#4454D3
accent
#1AE500
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#18160F
muted
#868580

Preview Lab

Preview with #F7E97C

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

Preview Lab → · Contrast checker → · Palette generator →

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